From: | Christian Brueffer <chris@xxxxxxxxxxxxx> |
Date: | Sat, 17 Apr 2004 13:00:57 +0200 |
This syncs two accounting related manpages with FreeBSD 4-STABLE. - Christian -- Christian Brueffer chris@xxxxxxxxxxxxx brueffer@xxxxxxxxxxx GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D
Index: acct.2 =================================================================== RCS file: /usr/home/ncvs/dragonfly/src/lib/libc/sys/acct.2,v retrieving revision 1.2 diff -u -r1.2 acct.2 --- acct.2 17 Jun 2003 04:26:47 -0000 1.2 +++ acct.2 17 Apr 2004 10:46:38 -0000 @@ -30,10 +30,10 @@ .\" SUCH DAMAGE. .\" .\" @(#)acct.2 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/sys/acct.2,v 1.6.2.4 2001/12/14 18:34:00 ru Exp $ +.\" $FreeBSD: src/lib/libc/sys/acct.2,v 1.6.2.5 2004/04/17 10:04:10 brueffer Exp $ .\" $DragonFly: src/lib/libc/sys/acct.2,v 1.2 2003/06/17 04:26:47 dillon Exp $ .\" -.Dd June 4, 1993 +.Dd April 17, 2004 .Dt ACCT 2 .Os .Sh NAME @@ -79,6 +79,20 @@ Accounting is automatically disabled when the file system the accounting file resides on runs out of space; it is enabled when space once again becomes available. +The values controlling this behaviour can be modified using the following +.Xr sysctl 8 +variables: +.Bl -tag -width ".Va kern.acct_chkfreq" +.It Va kern.acct_chkfreq +Specifies the frequency (in seconds) with which free disk +space should be checked. +.It Va kern.acct_resume +The percentage of free disk space above which process +accounting will resume. +.It Va kern.acct_suspend +The percentage of free disk space below which process +accounting will suspend. +.El .Sh RETURN VALUES On error -1 is returned. The file must exist and the call may be exercised only by the super-user. @@ -110,6 +124,7 @@ .El .Sh SEE ALSO .Xr acct 5 , +.Xr accton 8 , .Xr sa 8 .Sh HISTORY An
Index: accton.8 =================================================================== RCS file: /usr/home/ncvs/dragonfly/src/usr.sbin/accton/accton.8,v retrieving revision 1.2 diff -u -r1.2 accton.8 --- accton.8 17 Jun 2003 04:29:52 -0000 1.2 +++ accton.8 17 Apr 2004 10:51:25 -0000 @@ -1,4 +1,4 @@ -.\" $FreeBSD: src/usr.sbin/accton/accton.8,v 1.6.2.6 2003/03/11 21:13:47 trhodes Exp $ +.\" $FreeBSD: src/usr.sbin/accton/accton.8,v 1.6.2.7 2004/04/17 10:06:38 brueffer Exp $ .\" $DragonFly: src/usr.sbin/accton/accton.8,v 1.2 2003/06/17 04:29:52 dillon Exp $ .\" .Dd May 21, 1993 @@ -17,8 +17,13 @@ for switching system accounting on or off. If called with the argument .Ar acctfile , -system accounting is enabled and a record of -every process that is started by the +system accounting is enabled. +The +.Ar acctfile +specified must exist prior to starting system accounting, or +.Nm +will return an error. +A record of every process that is started by the .Xr execve 2 system call and then later exits the system is stored in .Ar acctfile . @@ -34,4 +39,5 @@ .Sh SEE ALSO .Xr lastcomm 1 , .Xr acct 2 , +.Xr acct 5 , .Xr sa 8
Attachment:
pgp00004.pgp
Description: PGP signature