OpenBSD manual page server

Manual Page Search Parameters

ACCTON(8) System Manager's Manual ACCTON(8)

acctonenable/disable system accounting

accton [file]

With an argument naming an existing file, accton causes system accounting information for every process executed to be placed at the end of the file. If no argument is given, accounting is turned off.

To have accton enabled at boot time, use “rcctl enable accounting”, which sets

accounting=YES

in rc.conf.local(8).

Log rotation of the default accounting file, /var/account/acct, is performed by the daily(8) maintenance script.

/var/account/acct
default accounting file

lastcomm(1), acct(2), acct(5), daily(8), sa(8)

The accton command has existed nearly forever, but this man page is new.

November 10, 2019 OpenBSD-6.7