命令语法
systemctl status
查看服务运行状态
示例
$ systemctl status nginx
systemctl status 用法说明
systemctl status 是「服务与电源」分类下的常用命令,作用是:查看服务运行状态。
典型用法如下:systemctl status nginx。你可以复制到终端直接运行,或查看下方同组的相关命令。
常见问题解答
systemctl status 是什么?
systemctl status 用于查看服务运行状态,属于「服务与电源」相关命令。
systemctl status 怎么用?
在终端执行
systemctl status nginx 即可,具体参数请按实际环境调整。还有哪些相关命令?
「服务与电源」分类下还有 13 条相关命令,见下方「相关命令」。