Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

what are the 0-6 in chkconfig result ?


chkconfig --list|grep iptables
iptables        0:off   1:off   2:on    3:on    4:on    5:on    6:off
share|improve this question
no need for grep: chkconfig --list iptables – Carlos Campderrós Aug 30 '13 at 7:08
up vote 11 down vote accepted

The different numbers correspond with the different runlevels for that service.

ID      Name                Description
0       Halt                Shuts down the system.
1       Single-user Mode    Mode for administrative tasks.
2       Multi-user Mode     Does not configure network interfaces and does not export networks services.
3       Multi-user Mode with Networking     Starts the system normally.
4       Not used/User-definable     For special purposes.
5       Start the system normally with appropriate display manager. (with GUI)  Same as runlevel 3 + display manager.
6       Reboot              Reboots the system.

Wikipedia has a detailed explanation on the different runlevels (they can also vary in meaning depending on the base system) if you need more specific information.

share|improve this answer

Those are System V runlevels.

share|improve this answer

These numbers are indiacate runlevels decides which process or program to be executed at startup. All these things are defined in /etc/inittab. Linux distributions has seven different runlevels and at the time of startup init process checks which runlevel is running and on the basis of that it executes the process and services. In the boot procedure init is the last step which is responsible for the execution of services.

Runlevel is a system state in which typically the advanced administration over Linux can be done by switching between them.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.