File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
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}} `
You can’t perform that action at this time.
0 commit comments