linux查看默认启动服务

使用root用户查看默认启动服务
#chkconfig --list
关于每个服务有什么用处,不同的发行版本,可能有细小的差别,在附件中给出了Linux部分系统默认服务的解释说明,供大家参考(来源于网络)。
下面给出一个优化RedHat AS 5.4默认启动进程的 shell
#-- configprocess.sh --开始。如果有的服务要使用,请注释或删除相应命令
#!/bin/sh
chkconfig acpid off
chkconfig anacron off
chkconfig atd off
chkconfig autofs off
chkconfig avahi-daemon off
chkconfig bluetooth off
chkconfig cups off
chkconfig firstboot off
chkconfig gpm off
chkconfig haldaemon off
chkconfig hidd off
chkconfig hplip off
chkconfig ip6tables off
chkconfig iptables off
chkconfig irqbalance off
chkconfig isdn off
chkconfig kudzu off
chkconfig mcstrans off
chkconfig microcode_ctl off
chkconfig netfs off
chkconfig nfslock off
chkconfig pcscd off
chkconfig portmap off
chkconfig rawdevices off
chkconfig restorecond off
chkconfig rhnsd off
chkconfig rpcgssd off
chkconfig rpcidmapd off
chkconfig sendmail off
chkconfig setroubleshoot off
chkconfig xend off
chkconfig xendomains off
chkconfig xfs off
chkconfig yum-updatesd off
#-- configprocess.sh --结束


你可能感兴趣的:(linux,服务,默认启动)