mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 07:35:24 +02:00
needrestart: add page (#6417)
This commit is contained in:
parent
4ef097c358
commit
a9ab617ca1
1 changed files with 36 additions and 0 deletions
36
pages/linux/needrestart.md
Normal file
36
pages/linux/needrestart.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
# 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`
|
Loading…
Add table
Reference in a new issue