Skip to content

Commit 0c549e5

Browse files
Managoracuteenvy
andauthored
systemctl-status: add page (#17637)
* Create systemctl-status.md --------- Co-authored-by: Lena <[email protected]>
1 parent cc38dd4 commit 0c549e5

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

pages/linux/systemctl-status.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# systemctl status
2+
3+
> Display the status of systemd units.
4+
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#status%20PATTERN%E2%80%A6%7CPID%E2%80%A6%5D>.
5+
6+
- Show the status of a systemd unit:
7+
8+
`systemctl status {{unit}}.{{service|timer|socket|target|...}}`
9+
10+
- Show the status of failed units:
11+
12+
`systemctl status --failed`
13+
14+
- List all running services:
15+
16+
`systemctl status`
17+
18+
- List all units in the system:
19+
20+
`systemctl status --all`
21+
22+
- List all units of a specific type:
23+
24+
`systemctl status --type {{service|timer|socket|target|...}}`
25+
26+
- List all units with a specific state:
27+
28+
`systemctl status --state {{active|inactive|failed}}`

0 commit comments

Comments
 (0)