chkconfig Command Examples

Manage the runlevel of services on CentOS 6. More information: https://manned.org/chkconfig.

chkconfig --list

chkconfig --list {{ntpd}}

chkconfig {{sshd}} on

chkconfig --level {{2345}} {{sshd}} on

chkconfig {{ntpd}} off

chkconfig --level {{3}} {{ntpd}} off