CentOS chkconfig

1 개요[ | ]

chkconfig
/sbin/chkconfig
  • 런레벨별 시스템 서비스 수행여부 조회/설정 도구

2 조회[ | ]

전체 조회
[root@zetawiki ~]# chkconfig
NetworkManager 	0:off	1:off	2:on	3:on	4:on	5:on	6:off
abrt-ccpp      	0:off	1:off	2:off	3:on	4:off	5:on	6:off
abrt-oops      	0:off	1:off	2:off	3:on	4:off	5:on	6:off
... (생략)
[root@zetawiki ~]# chkconfig --list
NetworkManager 	0:off	1:off	2:on	3:on	4:on	5:on	6:off
abrt-ccpp      	0:off	1:off	2:off	3:on	4:off	5:on	6:off
abrt-oops      	0:off	1:off	2:off	3:on	4:off	5:on	6:off
... (생략)
일부 조회
[root@zetawiki ~]# chkconfig --list httpd
httpd          	0:off	1:off	2:off	3:off	4:off	5:off	6:off
[root@zetawiki ~]# chkconfig --list | grep httpd
httpd          	0:off	1:off	2:off	3:off	4:off	5:off	6:off

3 설정[ | ]

[root@zetawiki ~]# chkconfig --list httpd
httpd          	0:off	1:off	2:off	3:off	4:off	5:off	6:off
[root@zetawiki ~]# chkconfig httpd on
[root@zetawiki ~]# chkconfig --list httpd
httpd          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
→ 다른 옵션없이 on을 적용하면 런레벨 2,3,4,5에서 on이 된다.

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}