From 0eb3f55447589910641b08d11a0e077595a4c0dd Mon Sep 17 00:00:00 2001 From: Matt C Date: Fri, 8 Oct 2021 22:00:29 -0400 Subject: [PATCH] systemctl: add global status example (#6849) --- pages/linux/systemctl.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/linux/systemctl.md b/pages/linux/systemctl.md index 5fd9f3550..297cf9cb6 100644 --- a/pages/linux/systemctl.md +++ b/pages/linux/systemctl.md @@ -3,6 +3,10 @@ > Control the systemd system and service manager. > More information: . +- 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}}`