Solved

Run Level

Posted on 1998-04-19
3
237 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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.

762 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

11 Experts available now in Live!

Get 1:1 Help Now