Subject: bin/37467: accton(8) does not mentioned log rotation
To: None <firstname.lastname@example.org, email@example.com>
From: Ben Wong <firstname.lastname@example.org>
Date: 12/03/2007 10:10:00
Note: There was a bad value `' for the field `Confidential'.
It was set to the default value of `yes'.
>Synopsis: accton(8) does not mentioned log rotation
>Arrival-Date: Mon Dec 03 10:10:00 +0000 2007
>Originator: Ben Wong
>Release: NetBSD 3.0.1
System: NetBSD ursula.wongs.net 3.0.1 NetBSD 3.0.1 (GENERIC) #0: Thu Jul 13 23:43:47 UTC 2006 email@example.com:/home/builds/ab/netbsd-3-0-1-RELEASE/i386/200607131826Z-obj/home/builds/ab/netbsd-3-0-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386
The manual page for accton(8) is too sparse. It does not mention where
the default acct log file is for NetBSD nor how to rotate it. It
should at the least have a "See Also" for sa(8).
I believe adding these sentences to the man page would help:
DESCRIPTION [append to old section]
The default accounting file in BSD is /var/account/acct. Typically,
accounting is enabled by rc scripts during the boot process. In
NetBSD, one may enable system accounting by setting the variable
"accounting" to YES in /etc/rc.conf.
Note that, traditionally, the system accounting log file cannot be
rotated cleanly by newsylog(8). Instead, a default installation of
NetBSD rotates /var/account/acct using the /etc/daily script.
/var/account/acct Default accounting file.
lastcomm(1), acct(5), sa(8)