System Administration Guide: Advanced Administration

How to Restart the runacct Script

  1. Remove the lastdate file and any lock* files, if any.


    $ cd /var/adm/acct/nite
    $ rm lastdate lock*
    

    The lastdate file contains the date that the runacct program was last run. Restarting runacct in the next step recreates this file.

  2. Restart the runacct script.


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

    MMDD

    Month and day specified by two-digit numbers. 

    state

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