RSS Subscription
Linux Howtos & Tutorials

Enter your email:

Delivered by


NOTE:New tutorials are from LinuxCareer.com

Poll

Do you own or wish to have iPhone?
 


Linux eBooks FREE Download
A guide to programming Linux kernel modules
Introduction to Linux - A Hands on Guide
A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

Linux: The Hacking Solution (v.3.0)

SQLite 3 with PHP Essential Training – Free Video Training Tutorials

This guide will introduce you to the world of GNU/Linux

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)

Advanced Bash-Scripting Guide

Set up, maintain, and secure a small office email server

Partner Linux Sites:
How-To.LinuxCareer.com
Jobs.LinuxCareer.com
TuxMachines
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
All For Linux

How to check a current runlevel of your Linux system

Unix System V-style implement conventionally 7 runlevels. This runlevel implementation vary across many Linux distribution. Usually runlevel 0, 1 and 6 are the same.

  • 0 - halt
  • 1 - single mode
  • 6 - reboot

Debian distribution has it runlevel 2-5 dedicated to full multi-user with graphical managers and console login whereas Redhat/Fedora has two separate runlevels for each mode. To check the runlevel of you system you can use runlevel command with no arguments:

$ runlevel

another way to check your runlevel is to use:

$ who -r

To see what services are starting during which runlevel you can use:

# chkconfig

The same command also allows you to turn off and on each service for any particular runlevel. For example to run apache2 on level 2 you will use command:

# chkconfig apache2 2

Share this linux post:

Submit How to check a current runlevel of your Linux system in Delicious Submit How to check a current runlevel of your Linux system in Digg Submit How to check a current runlevel of your Linux system in FaceBook Submit How to check a current runlevel of your Linux system in Google Bookmarks Submit How to check a current runlevel of your Linux system in Stumbleupon Submit How to check a current runlevel of your Linux system in Technorati Submit How to check a current runlevel of your Linux system in Twitter
 
Comments for this page are closed !!!
Please visit our new Linux Forum for additional help or discussion.


Linux eBooks FREE Download