1、查看服务器正在运行的服务
systemctl list-units --type=service --state=running

2、查看服务器配置的开机自启服务
systemctl list-unit-files --type=service --state=enabled

运维命令
阅读 36
2023-06-16
systemctl list-units --type=service --state=running

systemctl list-unit-files --type=service --state=enabled

相关推荐
精彩评论(0)