我试图确定正确的服务器操作的最低限度的服务,我越来越受到modules_dep守护进程的烦恼。
这个服务用于什么?
先谢谢你
编辑: ps ax输出
PID TTY STAT TIME COMMAND 1 ? Ss 0:00 init 2 ? S 0:00 [kthreadd/206286] 3 ? S 0:00 [khelper/2062867] 4 ? S 0:00 [rpciod/2062867/] 5 ? S 0:00 [rpciod/2062867/] 6 ? S 0:00 [rpciod/2062867/] 7 ? S 0:00 [rpciod/2062867/] 8 ? S 0:00 [rpciod/2062867/] 9 ? S 0:00 [rpciod/2062867/] 10 ? S 0:00 [rpciod/2062867/] 11 ? S 0:00 [rpciod/2062867/] 12 ? S 0:00 [nfsiod/2062867] 135 ? S<s 0:00 /sbin/udevd -d 429 ? Sl 0:00 /sbin/rsyslogd -i /var/run/syslogd.pid -c 5 443 ? Ss 0:00 /usr/sbin/sshd 450 ? Ss 0:00 crond 556 ? Ss 0:00 sshd: root@pts/0 561 pts/0 Ss 0:00 -bash 589 pts/0 R+ 0:00 ps ax
/usr/bin/which: no modules_dep in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
但守护进程有chkconfig --list | grep modules_dep chkconfig --list | grep modules_dep
modules_dep 0:desactivado 1:desactivado 2:activo 3:activo 4:activo 5:activo 6:desactivado
这是Strato的VPS。
好吧,这看起来像一次性启动脚本,而不是一个守护进程。 所以启动后不会消耗资源,不用担心。 我想你可以在/etc/init.d/modules_dep浏览它的源代码。 我无法在标准的CentOS安装中find它,所以它应该是自定义的。