needrestart
Check which daemons need to be restarted after library upgrades. More information: https://github.com/liske/needrestart.
-
List outdated processes:
needrestart
-
Interactively restart services:
sudo needrestart
-
List outdated processes in [v]erbose or [q]uiet mode:
needrestart -{{v|q}}
-
Check if the [k]ernel is outdated:
needrestart -k
-
Check if the CPU microcode is outdated:
needrestart -w
-
List outdated processes in [b]atch mode:
needrestart -b
-
List outdated processed using a specific [c]onfiguration file:
needrestart -c {{path/to/config}}
-
Display help:
needrestart --help
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.