我正在运行 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 次 |
| 最近记录: |