我正在运行 centos 5.8 并试图确定正在运行的守护进程。
我以 root 用户身份登录,但是当我输入service --status-all
或chkconfig --list
得到bash: service: command not found
.
如何确定正在运行的守护进程?
该service --status-all
命令将执行您想要的操作。根据bash: service: command not found
错误,它听起来/sbin
不在您的$PATH
. 添加它并重试:export PATH=$PATH:/sbin
归档时间: |
|
查看次数: |
116 次 |
最近记录: |