Displaying a history of previous run levels

You can display a history of previous run levels using the fwtmp command.

Note: The bosext2.acct.obj code must be installed on your system to use this command.
  1. Log in as root user.
  2. Type the following at a command prompt:
    /usr/lib/acct/fwtmp </var/adm/wtmp |grep run-level
    The system displays information similar to the following:
    run-level 2  0 1 0062 0123 697081013 Sun Feb  2 19:36:53 CST 1992
    run-level 2  0 1 0062 0123 697092441 Sun Feb  2 22:47:21 CST 1992
    run-level 4  0 1 0062 0123 698180044 Sat Feb 15 12:54:04 CST 1992
    run-level 2  0 1 0062 0123 698959131 Sun Feb 16 10:52:11 CST 1992
    run-level 5  0 1 0062 0123 698967773 Mon Feb 24 15:42:53 CST 1992