System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones

ProcedureHow to Activate Extended Accounting for Processes, Tasks, and Flows

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

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Using the Solaris Management Tools With RBAC (Task Map) in System Administration Guide: Basic Administration.

  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
  4. Activate extended accounting for flows.

    # acctadm -e extended -f /var/adm/exacct/flow flow
See Also

See acctadm(1M) for more information.