chkconfig 명령어

  • 등록 2017.07.12 11:47:33
크게보기

chkconfig : 시스템 부팅시 런레벨에 따라 자동 실행되는 데몬들을 알수있고, 특정 데몬을 추가,수정할수 있다

chkconfig [옵션] 데몬명 [on/off]

chkconfig --list : 현재 데몬들의 목록을 출력
chkconfig --level 35 데몬명 on(off)

root@hosting01:~# chkconfig --level 35 xinetd on
root@hosting01:~# 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:off   4:on    5:on    6:off
anacron         0:off   1:off   2:on    3:off   4:on    5:on    6:off
xinetd          0:off   1:off   2:off   3:on   4:on    5:on   6:off
root@hosting01:~# chkconfig --level 35 xinetd off
root@hosting01:~# 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:off   4:on    5:on    6:off
anacron         0:off   1:off   2:on    3:off   4:on    5:on    6:off
xinetd          0:off   1:off   2:off   3:off   4:on    5:off   6:off
노랑배 kosthb@gmail.com
Copyright @2011 mediaon Corp. All rights reserved.

사이트에 관련하여 연락은 메일로 주세요. kosthb골뱅이gmail.com Copyright 2011 mediaon. All rights reserved.