RUNLEVEL - phpMan

Command: man perldoc info search(apropos)  


RUNLEVEL(8)           Linux System Administrator’s Manual          RUNLEVEL(8)



NAME
       runlevel -- find the current and previous system runlevel.

SYNOPSIS
       runlevel [utmp]

DESCRIPTION
       Runlevel  reads  the  system utmp file (typically /var/run/utmp) to locate the run-
       level record, and then prints the previous and current system runlevel on its stan-
       dard  output, separated by a single space. If there is no previous system runlevel,
       the letter N will be printed instead.

       If no utmp file exists, or if no runlevel record can be found, runlevel prints  the
       word unknown and exits with an error.

       Runlevel can be used in rc scripts as a substitute for the System-V who -r command.
       However, in newer versions of init(8) this information is  also  available  in  the
       environment variables RUNLEVEL and PREVLEVEL.

OPTIONS
       utmp   The name of the utmp file to read.

SEE ALSO
       init(8), utmp(5)

AUTHOR
       Miquel van Smoorenburg, miquels AT cistron.nl



                                 May 27, 1997                      RUNLEVEL(8)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache/1.3.41 (Unix) PHP/5.2.5 mod_perl/1.30 mod_gzip/1.3.26.1a
Under GNU General Public License
2009-01-09 02:13 @38.103.63.58 CrawledBy CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Valid XHTML 1.0!Valid CSS!