systemctl 列表

1
2
3
4
systemctl list-unit-files | grep enabled
systemctl list-unit-files --state=enabled
systemctl list-units --type=service --state=running
systemctl list-units --type=service --state=active