chkconfig开机启动

简介:

[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

相关文章
|
4月前
|
Unix Linux
# chkconfig: 2345 40 60 是什么
【6月更文挑战第10天】# chkconfig: 2345 40 60 是什么
29 5
|
12月前
|
Linux
一文让你掌握Chkconfig命令的使用
一文让你掌握Chkconfig命令的使用
开机启动
开机启动
133 0
|
JavaScript 前端开发 Shell
|
JavaScript 前端开发 Shell