리눅스
[명령어] chkconfig 명령어
변군이글루
2013. 9. 29. 01:15
반응형
chkconfig 명령어
chkconfig [런레벨 조정]
* 서비스 runlevel 보기
chkconfig --list
chkconfig --list 데몬명
* 서비스 등록하기
chkconfig --add 데몬명
* 서비스 삭제하기
chkconfig --del 데몬명
* 서비스 runlevel 조정하기
chkconfig --level 실행레벨 데몬명 [on|off|rest]
$ chkconfig
chkconfig version 1.3.30.1 - Copyright (C) 1997-2000 Red Hat, Inc.
This may be freely redistributed under the terms of the GNU Public License.
usage: chkconfig --list [name]
chkconfig --add <name>
chkconfig --del <name>
chkconfig [--level <levels>] <name> <on|off|reset|resetpriorities>
ubuntu sysv-rc-conf(redhat:chkconfig) 명령어
sysv-rc-conf(SysV init runlevel configuration tool for the terminal) 설치
apt-get install -y sysv-rc-conf
$ sysv-rc-conf -h
Usage:
sysv-rc-conf [ *options* ]
sysv-rc-conf --list [ *service* ]
sysv-rc-conf [ --level *levels* ] *service* <*on|off*>
sysv-rc-conf --list | grep snmpd
snmpd 1:off 2:on 3:on 4:on 5:on
728x90
반응형