LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-26-2003, 12:26 PM   #1
Computergirl24
Member
 
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Rep: Reputation: 15
Question runlevels?


ok, in an attempt (an unsuccessful one at that) to shut down my computer i got a message that it was switching to a different run level. waht are the runlevels, what do they stand for, and basically, what are they supposed to be used for? this isn't a crucial question, but i've been wondering about it.

thanks,
E
 
Old 12-26-2003, 12:45 PM   #2
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
type: man init
 
Old 12-26-2003, 01:37 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
A short breakdown of the runlevels in Linux. But like mikshaw mentioned, the man page on init will get more detailed of these, etc.

Runlevel 0 - Shutdown
Runlevel 1 - Single usermode
Runlevel 2 - Sort of like Single usermode, can't remember off top of my head differences.
Runlevel 3 - Multiuser mode w/ networking, etc
Runlevel 4 - Not used except for Slackware, starts X in Slackware.
Runlevel 5 - Starts up X at boot time
Runlevel 6 - Reboots
 
Old 12-26-2003, 03:45 PM   #4
tokkee
Member
 
Registered: Dec 2003
Distribution: Debian, OpenBSD
Posts: 46

Rep: Reputation: 15
runlevels are different states used by the init program. depending on the runlevel init either starts, reboots, halts your computer. you can also use runlevels to define which programs to start on system startup

besides runlevel 0, 1 and 6, the runlevels are not defined clearly and may differ between different distributions. for example debian (by default) does not really make a difference between 2, 3, 4, and 5 (which is imho the smartest thing to do ;), suse uses runlevel 3 as 'normal' runlevel starting a terminal login and runlevel 5 starts a graphical login manager...

Last edited by tokkee; 12-26-2003 at 03:46 PM.
 
Old 12-26-2003, 04:45 PM   #5
Computergirl24
Member
 
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Original Poster
Rep: Reputation: 15
ok, thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LILO and Runlevels TomalakBORG Linux - General 5 08-11-2012 04:32 AM
Runlevels nin881 Slackware 8 05-21-2005 02:50 AM
Question About Runlevels opsraja Fedora 6 11-24-2004 02:53 PM
RunLevels bcom Mandriva 3 05-31-2004 07:07 PM
runlevels kriver Linux - General 1 03-13-2002 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration