1、啟動服務(wù) systemctl start 服務(wù)名
2、停止服務(wù) systemctl stop 服務(wù)名
3、重啟服務(wù) systemctl restart 服務(wù)名
4、查看服務(wù) systemctl status 服務(wù)名
5、開機(jī)自啟 systemctl enable 服務(wù)名
6、停止自啟 systemctl disable 服務(wù)名
7、查看服務(wù)是否為開機(jī)自啟動
systemctl is-enabled 服務(wù)名
8、查看所有已啟動的服務(wù)—空格翻頁 Q退出
systemctl list-units --type service --all
9、查看啟動失敗的服務(wù)列表文章來源:http://www.zghlxwxcb.cn/news/detail-547102.html
systemctl --failed文章來源地址http://www.zghlxwxcb.cn/news/detail-547102.html
到了這里,關(guān)于【systemctl 常用命令】的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!