Go to main content

Administering Resource Management in Oracle® Solaris 11.4

Exit Print View

Updated: February 2021
 
 

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 the command indicates whether the command should act on the flow, process, system task, or network accounting components of the extended accounting facility.

  1. Assume the root role.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.

  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 the acctadm command on links and flows administered by the dladm and flowadm commands.

See Also

See the acctadm(8) man page for more information.