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.
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.
$ acctadm -e extended -f /var/adm/exacct/proc process
$ acctadm -e extended,mstate -f /var/adm/exacct/task task
$ acctadm -e extended -f /var/adm/exacct/flow flow
$ 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.