1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 23:17:58 +01:00

systemctl: add global status example (#6849)

This commit is contained in:
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

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