- If you call the runacct command with no parameters, the command assumes that this is the first time that the command has been run today. Therefore, you need to include the mmdd parameter when you restart the runacct program, so that the month and day are correct. If you do not specify a state, the runacct program reads the /var/adm/acct/nite/statefile file to determine the entry point for processing. To override the /var/adm/acct/nite/statefile file, specify the desired state on the command line.
- When you perform the following task, you may need to use the full path name /usr/sbin/acct/runacct rather than the simple command name, runacct.
To start the runacct command, enter the following:
nohup runacct 2> \ /var/adm/acct/nite/accterr &
This entry causes the command to ignore all INTR and QUIT signals while it performs background processing. It redirects all standard error output to the /var/adm/acct/nite/accterr file.