Solved

What is run level what is the use ?

Posted on 2008-06-18
7
262 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
7 Comments
 
LVL 40

Accepted Solution

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

Assisted Solution

by:torimar
torimar earned 100 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:PeturIngiEgilsson
PeturIngiEgilsson earned 100 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 8

Assisted Solution

by:eager
eager earned 100 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 200 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 61

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
docker invalid registry name 2 106
Linux server cannot access samba share 12 90
aix unix tar error 3 42
Error Message during CentOS 7 Minimal Install 3 34
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

912 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now