System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones

How to Activate Extended Accounting With a Startup Script

Activate extended accounting on an ongoing basis by linking the /etc/init.d/acctadm script into /etc/rc2.d.

# ln -s /etc/init.d/acctadm /etc/rc2.d/Snacctadm
# ln -s /etc/init.d/acctadm /etc/rc2.d/Knacctadm

The n variable is replaced by a number.

You must manually activate extended accounting at least once to set up the configuration.

See Extended Accounting Configuration for information on accounting configuration.