サービスの自動起動設定を確認する
http://extstrg.asabiya.net/pukiwiki/index.php?%A5%B5%A1%BC%A5%D3%A5%B9%A4%CE%BC%AB%C6%B0%B5%AF%C6%B0%C0%DF%C4%EA%A4%F2%B3%CE%C7%A7%A4%B9%A4%EBサービスの自動起動設定はchkconfigを使用する。
- listオプションを加えることで、サービスの設定状況一覧を出力することができる。
# chkconfig --list
- ランレベル5の自動起動するサービスの一覧を表示する
# chkconfig --list | awk '{printf "%s\t%s\n",$7,$1}' | grep :on
- ランレベル3のサービスを一覧で表示
# chkconfig --list | awk '{printf "%s\t%s\n",$5,$1}' | sort
- 出力結果
# chkconfig --list FreeWnn 0:off 1:off 2:off 3:off 4:off 5:off 6:off ipmi 0:off 1:off 2:off 3:off 4:off 5:off 6:off diskdump 0:off 1:off 2:off 3:off 4:off 5:off 6:off psacct 0:off 1:off 2:off 3:off 4:off 5:off 6:off yum 0:off 1:off 2:off 3:off 4:off 5:off 6:off vsftpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off named 0:off 1:off 2:on 3:on 4:on 5:on 6:off snmptrapd 0:off 1:off 2:off 3:off 4:off 5:off 6:off netplugd 0:off 1:off 2:off 3:off 4:off 5:off 6:off cups-config-daemon 0:off 1:off 2:off 3:off 4:on 5:off 6:off iptables 0:off 1:off 2:on 3:off 4:on 5:off 6:off haldaemon 0:off 1:off 2:off 3:off 4:on 5:off 6:off mdmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off bluetooth 0:off 1:off 2:off 3:off 4:off 5:off 6:off xinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off netfs 0:off 1:off 2:off 3:off 4:on 5:off 6:off messagebus 0:off 1:off 2:off 3:off 4:on 5:on 6:off portmap 0:off 1:off 2:off 3:off 4:on 5:off 6:off rpcidmapd 0:off 1:off 2:off 3:off 4:on 5:off 6:off apmd 0:off 1:off 2:on 3:on 4:on 5:on 6:off sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off rhnsd 0:off 1:off 2:off 3:off 4:off 5:off 6:off syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off smartd 0:off 1:off 2:on 3:off 4:on 5:off 6:off netdump 0:off 1:off 2:off 3:off 4:off 5:off 6:off readahead_early 0:off 1:off 2:off 3:off 4:off 5:off 6:off auditd 0:off 1:off 2:off 3:off 4:off 5:off 6:off atd 0:off 1:off 2:off 3:on 4:on 5:on 6:off nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off canna 0:off 1:off 2:on 3:off 4:on 5:off 6:off microcode_ctl 0:off 1:off 2:on 3:off 4:on 5:on 6:off ypbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off saslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:off autofs 0:off 1:off 2:off 3:off 4:on 5:off 6:off winbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off anacron 0:off 1:off 2:on 3:on 4:on 5:on 6:off snmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off irda 0:off 1:off 2:off 3:off 4:off 5:off 6:off acpid 0:off 1:off 2:off 3:on 4:on 5:on 6:off iiim 0:off 1:off 2:on 3:off 4:on 5:off 6:off readahead 0:off 1:off 2:off 3:off 4:off 5:off 6:off cpuspeed 0:off 1:on 2:on 3:off 4:on 5:on 6:off xfs 0:off 1:off 2:on 3:off 4:on 5:on 6:off lm_sensors 0:off 1:off 2:on 3:on 4:on 5:on 6:off nscd 0:off 1:off 2:off 3:off 4:off 5:off 6:off gpm 0:off 1:off 2:on 3:off 4:on 5:off 6:off NetworkManager 0:off 1:off 2:off 3:off 4:off 5:off 6:off rawdevices 0:off 1:off 2:off 3:on 4:on 5:on 6:off mdmonitor 0:off 1:off 2:on 3:off 4:on 5:off 6:off isdn 0:off 1:off 2:on 3:off 4:on 5:off 6:off kudzu 0:off 1:off 2:off 3:off 4:on 5:on 6:off pcmcia 0:off 1:off 2:on 3:off 4:on 5:off 6:off irqbalance 0:off 1:off 2:off 3:off 4:on 5:on 6:off nfslock 0:off 1:off 2:off 3:off 4:on 5:off 6:off sendmail 0:off 1:off 2:on 3:off 4:on 5:off 6:off vncserver 0:off 1:off 2:off 3:off 4:off 5:off 6:off ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off network 0:off 1:off 2:on 3:on 4:on 5:on 6:off cups 0:off 1:off 2:on 3:off 4:on 5:off 6:off rpcgssd 0:off 1:off 2:off 3:off 4:on 5:off 6:off xinetd based services: cups-lpd: off time: off daytime-udp: off krb5-telnet: off chargen-udp: off eklogin: off time-udp: off dbskkd-cdb: off echo-udp: off daytime: off echo: off klogin: off gssftp: off kshell: off chargen: off rsync: off
Last-modified: 2007-01-23 (火) 13:50:38 (6275d)