systemctl: add global status example (#6849)

beep
Matt C 2021-10-08 22:00:29 -04:00 committed by GitHub
parent 37b005c362
commit 0eb3f55447
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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}}`