needrestart

Check which daemons need to be restarted after library upgrades.

TLDR

List outdated processes

$ needrestart
copy

Interactively restart services

$ sudo needrestart
copy

List outdated processes in [v]erbose or [q]uiet mode

$ needrestart -[v|q]
copy

Check if the [k]ernel is outdated

$ needrestart -k
copy

Check if the CPU microcode is outdated

$ needrestart -w
copy

List outdated processes in [b]atch mode

$ needrestart -b
copy

List outdated processed using a specific [c]onfiguration file

$ needrestart -c [path/to/config]
copy

Display help

$ needrestart --help
copy

Copied to clipboard
Earn up to $40 for learning about crypto currencies