[root@localhost ~]# who -r 查看当前系统运行在哪个级别
run-level 5 2017-02-17 10:00 last=S
[root@localhost ~]# chkconfig --level 345 zabbix_agentd on 使得zabbix_agentd在345级别时启动状态
[root@localhost ~]# chkconfig --list
NetworkManager 0:off 1:off 2:off 3:off 4:off 5:off 6:off
acpid 0:off 1:off 2:on 3:on 4:on 5:on 6:off
anacron 0:off 1:off 2:on 3:on 4:on 5:on 6:off
atd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
autofs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
avahi-daemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off
本文转自aaa超超aaa 51CTO博客,原文链接:http://blog.51cto.com/10983441/1898698