Visit Our UNIX and Linux User Community

Unix Run Levels confusion

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Unix Run Levels confusion
# 1  
Old 08-27-2009
Unix Run Levels confusion


Could somebody throw some light on the below queries:

- For a run-level X, the S* scripts are executed when coming here from X-n run-level. The K* scripts are executed when coming to X runlevel from X+n runlevel.
- Does reaching to runlevel X from X-3 executes K* scritps from X-2 & X-1 also or it directly reaches X runlevel. Vice-versa of executing S* scripts while reaching X runlevel from X=3 runlevel.

Are the above true for all Unix variants or different?

# 2  
Old 08-27-2009
I suppose it depends on how implemented in OS, e.g HPUX will going from init 4 to 2 execute the KXXX of 3, doing a init 1 from 3 on solaris will not run Kyyy of 2...
# 3  
Old 08-27-2009
It is not the same on every unix. Many don't have runstate 6 (reboot) for example.

Explanation is in "man rc" on the system.

/etc/rc is actually a script which you can read.
# 4  
Old 08-27-2009

I'll go through "man rc"
# 5  
Old 08-27-2009
My mistake. On modern systems the script is /sbin/rc !

Previous Thread | Next Thread
Test Your Knowledge in Computers #939
Difficulty: Easy
The author named the ping utility after the sound that a sonar makes.
True or False?

9 More Discussions You Might Find Interesting

1. Debian

Linux Changing Run Levels

Hi this is my first thread. I use KDE and Gnome on Debian. I configured inittab like what it should be. But when i have an inittab file i can't see anything when i run who -r command. This is the result of who -r without /etc/inittab hwpplayer1@build3:~$ who -r ašılış-seviyesi 5... (4 Replies)
Discussion started by: hwpplayer1
4 Replies

2. Solaris

Run levels in Solaris 11

Hi Guys, I need to change the following script ( which is good for Linux) for Solris 11 #start oracle start on runlevel stop on runlevel What it should be for Solrais 11. Thanks for your help. Regards Terry (2 Replies)
Discussion started by: terrykhatri531
2 Replies

3. UNIX for Dummies Questions & Answers

Confusion with CRLF (wint) and LF (unix) as end of line seperators

I know that windows uses CRLF as a end of line character while Unix uses LF. But visually i could not see any difference in files while creating on either of plat forms. CR (Carriage Return) means to bring cursor to beginning of line while LF (Line feed) means to bring cursor to next line... (5 Replies)
Discussion started by: sarbjit
5 Replies

4. Solaris

Levels of support

Hello, I have a simple question because I can not find the information at I want to buy support for OS Solaris and Servers hardware. I need information what are the levels of support and how much they cost? I need a help. Have a nice day (3 Replies)
Discussion started by: bieszczaders
3 Replies

5. Solaris

Confusion In run level...

Dear Friends..!! i am quit confused about the SOLARIES RUN level that is 0 . 1 or s S ... please let me know the diffirence between these run level ... 0,1 and s S... have a great day Uday naikwadi (1 Reply)
Discussion started by: udayn
1 Replies

6. Solaris

Init levels

I have a problem, i dont know if its a normal behaviour or not, i can go to a lower init level, but i cant go to a higher one again, for instance i can run the command init 2 while im at init 3 and when i do who -r i find myself go down to 2 but if i type init 3 and wait im still finding myself in... (1 Reply)
Discussion started by: XP_2600
1 Replies

7. UNIX for Dummies Questions & Answers

unix confusion

:confused: some one please tell me where i can possibly find out what is unix 10.2 and the basic system functions of it is. I really need help! (1 Reply)
Discussion started by: tribb24
1 Replies

8. Solaris

RAID Levels

hi, what are the RAID Levels followed for various File systems ? thanks (3 Replies)
Discussion started by: sol8admin
3 Replies

9. UNIX for Dummies Questions & Answers

Too many levels of symbolic links

Hi, Is there a limit to the number of symbolic links you can have? I tried to vi the symbolic link relating to a file and got the following error: "filename" Too many levels of symbolic links There is only one symbolic link to one file in this case, but there are >2000 other links to... (2 Replies)
Discussion started by: Bab00shka
2 Replies

Featured Tech Videos