runlevel

From RaySoft

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

Documentation

References

  1. man 8 'runlevel'