mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-22 06:51:13 +00:00
Update cheatsheets
This commit is contained in:
41
linux/needrestart
Normal file
41
linux/needrestart
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user