systemctl status
Display the status of systemd units. More information: https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#status PATTERN…|PID…].
- Show the status of a systemd unit:
systemctl status .
- Show the status of failed units:
systemctl status --failed
- List all running services:
systemctl status
- List all units in the system:
systemctl status
- List all units of a specific type:
systemctl status
- List all units with a specific state:
systemctl status --state
- Show the status of a user unit:
systemctl status --user
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
