Go to main content

Administering Resource Management in Oracle® Solaris 11.4

Exit Print View

Updated: August 2018

Starting and Persistently Enabling Extended Accounting

The acctadm command described in the acctadm(8) man page starts extended accounting through the Oracle Solaris service management facility (SMF) service described in the smf(7) man page.

The extended accounting configuration is stored in the SMF repository. The configuration is restored at boot by a service instance, one for each accounting type. Each of the extended accounting types is represented by a separate instance of the SMF service:


Flow accounting


Process accounting


Task accounting


Network accounting

Enabling extended accounting by using the acctadm command causes the corresponding service instance to be enabled if not currently enabled, so that the extended accounting configuration will be restored at the next boot. Similarly, if the configuration results in accounting being disabled for a service, the service instance will be disabled. The instances are enabled or disabled by the acctadm command as needed. For more information, see the acctadm(8) man page.

To permanently activate extended accounting for a resource, run the following command:

$ acctadm -e resource_list

The resource_list is a comma-separated list of resources or resource groups.