[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
System Management Guide: Operating System and Devices

Starting the runacct Command

Prerequisites

  1. You must have the accounting system installed.
  2. You must have root user or adm group authority.
Notes:
  1. 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.
  2. 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.

Procedure

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.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]