System Administration Guide: Virtualization Using the Solaris Operating System

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

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

Note –

The System Administrator role includes the Process Management profile. For information on how to create the role and assign the role to a user, see Managing RBAC (Task Map) in System Administration Guide: Security Services.

  1. Become superuser or assume an equivalent role.

  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
  5. Activate extended accounting for network.

    # acctadm -e extended -f /var/adm/exacct/net net

    Run acctadm on links and flows administered by the dladm and flowadm commands.

See Also

See acctadm(1M) for more information.