snippetbashTip
needrestart — Check which daemons need to be restarted after library upgrades. More information: <https://manned.o
Viewed 0 times
commandneedrestartclineedcheckwhichrestarteddaemons
linux
Problem
How to use the
needrestart command: Check which daemons need to be restarted after library upgrades. More information: <https://manned.org/needrestart>.Solution
needrestart — Check which daemons need to be restarted after library upgrades. More information: <https://manned.org/needrestart>.List outdated processes:
needrestartInteractively restart services:
sudo needrestartList outdated processes in [v]erbose or [q]uiet mode:
needrestart -{{v|q}}Check if the [k]ernel is outdated:
needrestart -kCheck if the CPU microcode is outdated:
needrestart -wList outdated processes in [b]atch mode:
needrestart -bList outdated processed using a specific [c]onfiguration file:
needrestart -c {{path/to/config}}Display help:
needrestart --helpCode Snippets
List outdated processes
needrestartInteractively restart services
sudo needrestartList outdated processes in [v]erbose or [q]uiet mode
needrestart -{{v|q}}Check if the [k]ernel is outdated
needrestart -kCheck if the CPU microcode is outdated
needrestart -wContext
tldr-pages: linux/needrestart
Revisions (0)
No revisions yet.