[[email protected] ~]# who -r 查看当前系统运行在哪个级别
run-level 5 2017-02-17 10:00 last=S
[[email protected] ~]# chkconfig --level 345 zabbix_agentd on 使得zabbix_agentd在345级别时启动状态
[[email protected] ~]# 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
时间: 2024-10-23 00:27:13