查看服务器里面正在运行的所有服务

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

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

猜你喜欢

转载自blog.csdn.net/qq_39043100/article/details/88770006