Solved

Run Level

Posted on 1998-04-19
3
242 Views
Last Modified: 2010-04-21
UNIXer,

What is the differents between each run level ??????

Andrew
0
Comment
Question by:andrewyu
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
gormenghast earned 10 total points
ID: 2006265
Hi

run-level
0             powerdown
1             system admin state
s or S      single-user mode
2             multi-user mode (Stand-alone -- non networked system)
3             remote file sharing state (normal operating state for server system on network)
4             Administrator definable (currently unused)
5             firmware state (used for some types of maintenance activities, and diagnostics)
6             shutdown and reboot state (takes system down to run level 0 then back up to it normal operating state
0
 

Author Comment

by:andrewyu
ID: 2006266
so, what is runlevel 6 actually ??????

In runlevel 5, is it equal to run into the ok prompt in SunSparc ??????
0
 
LVL 2

Expert Comment

by:gormenghast
ID: 2006267
Hi

runlevel 6 is used to reboot the system from run state 2,3 or 4 back up to its normal operating state. So runlevel 6 is not really a run level at all, but a reboot
It first takes the system down to run level 0 then immediately brings the system back up.
If the system normally runs at level 2 (standalone) it is rebooted to level 2 or if the system normally runs at level 3 (server) it is rebooted to level 3.
 # who -r
will show the current run level and also the previous run level before last being rebooted.

I have never used run level 5 -- I beleive it is similar to the OK prompt because from this level you can also boot from an alternative disk or other media.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

919 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

18 Experts available now in Live!

Get 1:1 Help Now