System Administration Guide: Advanced Administration

ProcedureHow to Restart the runacct Script

  1. Change directories to the /var/adm/acct/nite directory.

    $ cd /var/adm/acct/nite
  2. Remove the lastdate file and any lock* files, if any.

    $ rm lastdate lock*

    The lastdate file contains the date that the runacct program was last run. Restarting the runacct script in the next step re-creates this file.

  3. Restart the runacct script.

    $ /usr/lib/acct/runacct MMDD [state] 2> /var/adm/acct/nite/fd2log &

    Is the month and day specified by two-digit numbers.


    Specifies a state, or starting point, where the runacct script processing should begin.