Runlevel Identification
To recognize the current runlevel and previous run level the command is
# runlevel
N 3
Here N denotes the previous run level and the second column denotes the current run level.
Note:
In case of SUN SOLARIS and SCO UNIX to recognize the runlevel the command is
# who -r
run-level 2 Feb 12 12:27 2 0 S
The first column denotes the current run level, date & time at in that this run level has been entered. The another column denotes the current level and the following column provides the number of times the run level has been run and S denotes the previous run level.