如何判断哪些守护进程正在运行?

use*_*637 -2 linux centos

我正在运行 centos 5.8 并试图确定正在运行的守护进程。

我以 root 用户身份登录,但是当我输入service --status-allchkconfig --list得到bash: service: command not found.

如何确定正在运行的守护进程?

Eva*_*son 6

service --status-all命令将执行您想要的操作。根据bash: service: command not found错误,它听起来/sbin不在您的$PATH. 添加它并重试:export PATH=$PATH:/sbin