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
Solved

Run Level

Posted on 1998-04-19
3
248 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AIX print queues constantly going down 11 545
Tracking which app / process changes permission of a file in SOlaris 10 4 122
AIX 5.x set up arrow to recall 11 58
Access_log 17 148
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

856 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