H I O X INDIA
LINUX Services
Google
Web hscripts.com
 HOME  ||  Scripts  ||  Purchase  ||  Tutorials  ||  Images  ||  Tools  ||  Directories 
  :-)  Send Page   :-)   Feedback   :-)   Register   :-)   Links   :-)   Support   :-)   Bookmarks :-)  
 Forums   Hosting   Internet Stats   Easy Calculation   FUN Games 

LINUX Services
Introduction
RunLevels
Starting Services
Listing Services
Services in A
Services in B
Services in C
Services in D
Services in E
Services in F
Services in G
Services in H
Services in I
Services in K
Services in L
Services in M
Services in N
Services in O
Services in P
Services in R
Services in S
Services in T
Services in U
Services in V
Services in W
Services in X
Services in Y
Services in Z
Feedback





Linux Runlevels


Topic

What are the runlevels in Linux?


Explanation

     Before knowing to start or stop the services, let see the default runlevels in Linux. The following table will list runlevels an the user mode:

RunlevelsGeneric mode
0 halt
1Single user mode
2Multiuser, without Networking
3Full multiuser mode
4unused
5X11
6reboot


     Runlevels are used to specify different configurations of running services. Lets see these runlevels briefly.

Runlevel 0:
     Halt. When entering this runlevel the shell prompt will usually shutdown the system and power off the machine. Note: Do NOT set initdefault to this.

Runlevel 1:
     Single user mode. This level is used to asses repair or maintenance in the system. Being single user mode, this will not allow other users to login to the machine. It is nearly equivalent to Safe Mode in Windows.

Runlevel 2:
     Multiuser mode without networking. This runlevel does not start the network file sharing service. It allows multiple users to login to the machine.

Runlevel 3:
     Full multiuser mode. This runlevel is commonly used by servers. It loads all services except X windows system. This allows multiple users to login to the machine.

Runlevel 4:
     Not used. This level is only used under special circumstances. By default, it will start more services than level3.

Runlevel 5:
     X11. Full (GUI based) multi-user mode. This level contains everything. It will start GUI's, extra services for printing, etc.,. It will support full muti-users. It is used generally on workstations.

Runlevel 6:
     Reboot. It is reserved only for reboot. Once you have entered it, there will be no stopping. Note: Do NOT set initdefault to this.

     Runlevels 2 and 3 are mainly used for Debugging purpose only, and are not used in normal operations. In Red Hat Linux, the default boot level is 3. When booting into an X Windows login, the default boot level is 5.

     You can view the settings of default runlevel in /etc/inittab. The command /sbin/chkconfig --list is used to display a list of all runlevels and services.




        LINUX Services... Hope you enjoy this tutorial. We welcome your Valuable feedbacks or suggestions on this LINUX Services. This is a copyright content.


privacy policy     license     sitemap
© 2004-2005 HIOX INDIA - hioxindia.com

Other Links