列出所有已安装的服务(包括启动的、停止的等)
systemctl list-unit-files --type=service
列出所有当前处于活动状态的服务
systemctl list-units --type=service --state=running
列出所有失败的服务
systemctl list-units --type=service --state=failed
systemctl list-unit-files --type=service
systemctl list-units --type=service --state=running
systemctl list-units --type=service --state=failed