Subject: bin/37467: accton(8) does not mentioned log rotation
To: None <,>
From: Ben Wong <>
List: netbsd-bugs
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'.

>Number:         37467
>Category:       bin
>Synopsis:       accton(8) does not mentioned log rotation
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 03 10:10:00 +0000 2007
>Originator:     Ben Wong
>Release:        NetBSD 3.0.1
System: NetBSD 3.0.1 NetBSD 3.0.1 (GENERIC) #0: Thu Jul 13 23:43:47 UTC 2006 i386
Architecture: i386
Machine: 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).

man accton

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)