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

x
?
Solved

Run Level

Posted on 1998-04-19
3
Medium Priority
?
251 Views
Last Modified: 2010-04-21
UNIXer,

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

Andrew
0
Comment
Question by:andrewyu
[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
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
gormenghast earned 20 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

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…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

670 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