This is a program developed by Red Hat Company under the GPL rules to query what system services the operating system will perform in each execution level, including all types of resident services.
Grammar
chkconfig [--add][--del][--list][system service] or Chkconfig [--level < grade code]
[System Services] [On/off/reset]
Parameters:
- --add adds the specified system service, allows the chkconfig instruction to manage it, and adds the relevant data to the system-initiated narrative file.
- --del deletes the specified system service, is no longer managed by the Chkconfig command, and deletes the relevant data in the system-initiated narration file.
- --level< Level Code > Specify the system service to be opened or closed in which execution level.
Instance
Lists all the commands known to Chkconfig.
# chkconfig-list
Open the service.
# chkconfig Telnet on//open Telnet Service
# Chkconfig-list//List of all services known to Chkconfig
Turn off services
# chkconfig Telnet off//Turn off Telnet service
# Chkconfig-list//List of all services known to Chkconfig