Administering Resource Management in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

How to Activate Extended Accounting for Flows, Processes, Tasks, and Network Components

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 -  Roles contain authorizations and privileged commands. For information on how to create the role and assign the role to a user through the role-based access control (RBAC) feature of Oracle Solaris, see Securing Users and Processes in Oracle Solaris 11.2 .
  1. Become root 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.