mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
systemctl: add global status example (#6849)
This commit is contained in:
parent
37b005c362
commit
0eb3f55447
1 changed files with 4 additions and 4 deletions
|
@ -3,6 +3,10 @@
|
|||
> Control the systemd system and service manager.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html>.
|
||||
|
||||
- Show all running services:
|
||||
|
||||
`systemctl status`
|
||||
|
||||
- List failed units:
|
||||
|
||||
`systemctl --failed`
|
||||
|
@ -27,10 +31,6 @@
|
|||
|
||||
`systemctl daemon-reload`
|
||||
|
||||
- Check if a unit is active:
|
||||
|
||||
`systemctl is-active {{unit}}`
|
||||
|
||||
- Check if a unit is enabled:
|
||||
|
||||
`systemctl is-enabled {{unit}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue