Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

What is run level what is the use ?

Posted on 2008-06-18
7
Medium Priority
?
270 Views
Last Modified: 2013-12-16
What is runlevel what is it use ?

i have list of process .. that shows different run levels .. what does it mean?

is this specific to unix ?

[root@radarcltransprt ~]# chkconfig --list
NetworkManager  0:off   1:off   2:off   3:off   4:off   5:off   6:off
NetworkManagerDispatcher        0:off   1:off   2:off   3:off   4:off   5:off   6:off
acpid           0:off   1:off   2:off   3:on    4:on    5:on    6:off
anacron         0:off   1:off   2:on    3:on    4:on    5:on    6:off
apmd            0:off   1:off   2:on    3:on    4:on    5:on    6:off
atd             0:off   1:off   2:off   3:on    4:on    5:on    6:off
auditd          0:off   1:off   2:on    3:on    4:on    5:on    6:off
autofs          0:off   1:off   2:off   3:on    4:on    5:on    6:off
avahi-daemon    0:off   1:off   2:off   3:on    4:on    5:on    6:off
avahi-dnsconfd  0:off   1:off   2:off   3:off   4:off   5:off   6:off
bluetooth       0:off   1:off   2:on    3:on    4:on    5:on    6:off
conman          0:off   1:off   2:off   3:off   4:off   5:off   6:off
cpuspeed        0:off   1:on    2:on    3:on    4:on    5:on    6:off
crond           0:off   1:off   2:on    3:on    4:on    5:on    6:off
cups            0:off   1:off   2:on    3:on    4:on    5:on    6:off
dc_client       0:off   1:off   2:off   3:off   4:off   5:off   6:off
dc_server       0:off   1:off   2:off   3:off   4:off   5:off   6:off
dhcdbd          0:off   1:off   2:off   3:off   4:off   5:off   6:off
dovecot         0:off   1:off   2:off   3:off   4:off   5:off   6:off
dund            0:off   1:off   2:off   3:off   4:off   5:off   6:off
firstboot       0:off   1:off   2:off   3:on    4:off   5:on    6:off
gpm             0:off   1:off   2:on    3:on    4:on    5:on    6:off
haldaemon       0:off   1:off   2:off   3:on    4:on    5:on    6:off
hidd            0:off   1:off   2:on    3:on    4:on    5:on    6:off
httpd           0:off   1:off   2:off   3:off   4:off   5:off   6:off
ibmasm          0:off   1:off   2:off   3:off   4:off   5:off   6:off
ip6tables       0:off   1:off   2:on    3:on    4:on    5:on    6:off
ipmi            0:off   1:off   2:off   3:off   4:off   5:off   6:off
iptables        0:off   1:off   2:on    3:on    4:on    5:on    6:off
irda            0:off   1:off   2:off   3:off   4:off   5:off   6:off
irqbalance      0:off   1:off   2:on    3:on    4:on    5:on    6:off
kdump           0:off   1:off   2:off   3:off   4:off   5:off   6:off
kudzu           0:off   1:off   2:off   3:on    4:on    5:on    6:off
lisa            0:off   1:off   2:off   3:off   4:off   5:off   6:off
lm_sensors      0:off   1:off   2:on    3:on    4:on    5:on    6:off
lvm2-monitor    0:off   1:on    2:on    3:on    4:on    5:on    6:off
mcstrans        0:off   1:off   2:on    3:on    4:on    5:on    6:off
mdmonitor       0:off   1:off   2:on    3:on    4:on    5:on    6:off
mdmpd           0:off   1:off   2:off   3:off   4:off   5:off   6:off

Open in new window

0
Comment
Question by:jaisonshereen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 40

Accepted Solution

by:
omarfarid earned 800 total points
ID: 21815507
0
 
LVL 35

Assisted Solution

by:torimar
torimar earned 400 total points
ID: 21815596
Yes, runlevels are specific to Unix and Linux systems and refer to states of the system in terms of processes and services started. Usually, a linux system is fully functional at runlevel 5, whereas at runlevel 6 it is rebooted and on runlevel 0 it shuts down.

In a very wide and inaccurate way, some of the lower runlevel could be compared to the Safe Mode options in Windows.

Read more here:
http://www.unixtools.com/linux-runlevels.html
http://en.wikipedia.org/wiki/Runlevel
0
 
LVL 10

Assisted Solution

by:Pétur Ingi Egilsson
Pétur Ingi Egilsson earned 400 total points
ID: 21815789
Usually servers run on Runlevel 2 without a graphical interface ( text only )
runlevel 5 is often the default runlevel on Workstation/Desktop computers.

you can find out your current runlevel by typing `runlevel` at the console.
You can switch between runlevels by example: `init X` or `telinit X` replace X with 1-5.

switching to runlevel 0 will halt Linux.
swithcing to runlevel 6 will restart Linux.
0
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 
LVL 8

Assisted Solution

by:eager
eager earned 400 total points
ID: 21823558
The listing says which system services should be run in the different run levels.  Run levels are system operation states.  Higher run levels have increasing functionality:  Run level 1 is single user mode.  On your system, the list says that at run level 1, cpuseed and lvm2-monitor are run, but nothing else.  

When you change from one runlevel to another, services will be started or stopped based on this list. Run level 2 is multiuser, without NFS  Run level 3 adds NFS.  Runlevel 5 adds graphics.  

You can see that on your system, some services are never run, like dhcpd.  Some are run in any multi-user mode, like crond or cups.  Others are run only for particular levels, say, vncserver on runlevel 5, which require graphics.  
0
 
LVL 40

Assisted Solution

by:omarfarid
omarfarid earned 800 total points
ID: 21825148
"Higher run levels have increasing functionality" Does this mean that run level 6 is the highest run level !! it is a reboot level.
0
 
LVL 62

Expert Comment

by:gheist
ID: 21825266
Runlevels are SystemV specific thing they are in Solaris, HP-UX , but not in Tru64 or any BSD.
chkconfig is Linux specific.
0
 
LVL 8

Expert Comment

by:eager
ID: 21834730
omarfarid:  From level 1 to 5, higher levels have greater functionality.  Level 6, as you note, causes a reboot of the system.  
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question