The default accounting file is
/var/account/acct
.
Typically, accounting is enabled by rc scripts during the boot process.
In
NetBSD,
one may enable accounting by setting the variable
``accounting''
to
``YES''
in
/etc/rc.conf
.
Note that, traditionally, the system accounting log file can not be rotated
cleanly by
newsyslog(8).
Instead, a default installation of
NetBSD
rotates
/var/account/acct
using the
/etc/daily
script.
/var/account/acct