Go to main content

Administering Resource Management in Oracle® Solaris 11.3

Exit Print View

Updated: March 2018
 
 

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.3.
  1. Become an administrator with the appropriate rights profiles.

    The root role has all rights. For more information, see Assigning Rights to Manage Extended Accounting and Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  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.