Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 252
  • Last Modified:

Run Level

UNIXer,

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

Andrew
0
andrewyu
Asked:
andrewyu
  • 2
1 Solution
 
gormenghastCommented:
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
 
andrewyuAuthor Commented:
so, what is runlevel 6 actually ??????

In runlevel 5, is it equal to run into the ok prompt in SunSparc ??????
0
 
gormenghastCommented:
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now