System Administration Guide: Resource Management and Network Services

How to Activate Extended Accounting for Processes and Tasks

To activate the extended accounting facility for tasks and processes, use the acctadm(1M) command. The optional final parameter to acctadm indicates whether the command should act on the process or the system task accounting components of the extended account facility.

  1. Become superuser.

  2. Activate extended accounting for processes.


    # acctadm -e extended -f /var/adm/exacct/proc process 
    
  3. Activate extended accounting for tasks.


    # acctadm -e extended,mstate -f /var/adm/exacct/task task