System Administration Guide: Basic Administration

How to Determine a System's Run Level

Display run level information by using the who -r command.


$ who -r

Use the who -r command to determine a system's current run level for any level, except run level 0.

Example—Determining a System's Run Level

This example displays information a system's current run level and information about previous run levels.


$ who -r
 .    run-level 31  Dec 13 10:102   33   04 S5
$
  1. Identifies the current run level

  2. Identifies the date of last run level change

  3. Also identifies the current run level

  4. Identifies the number of times the system has been at this run level since the last reboot

  5. Identifies the previous run level