commands.sh

systemctl status

linux

Display the status of systemd units.

More info →

Options (2)

-a, --allboolean

List all units in the system

Example: systemctl status {{[-a|--all]}}
-t, --typeboolean

List all units of a specific type

Example: systemctl status {{[-t|--type]}} {{service|timer|socket|target|...}}

Examples (7)

Show the status of a systemd unit

systemctl status unit.service|timer|socket|target|...

Show the status of failed units

List all running services

List all units in the system

systemctl status [-a|--all]

List all units of a specific type

systemctl status [-t|--type] service|timer|socket|target|...

List all units with a specific state

systemctl status --state active|inactive|failed

Show the status of a user unit

systemctl status unit --user
made by @shridhargupta | data from tldr-pages