needrestart
Check which daemons need to be restarted after library upgrades. More information: <https://github.com/liske/needrestart>.
Install
- All systems
-
curl cmd.cat/needrestart.sh
- Debian
-
apt-get install needrestart
- Ubuntu
-
apt-get install needrestart
- Kali Linux
-
apt-get install needrestart
- Fedora
-
dnf install needrestart
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install needrestart
- Raspbian
-
apt-get install needrestart
- Dockerfile
- dockerfile.run/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
© tl;dr; authors and contributors