diff options
author | brueffer <brueffer@FreeBSD.org> | 2004-04-16 20:32:56 +0000 |
---|---|---|
committer | brueffer <brueffer@FreeBSD.org> | 2004-04-16 20:32:56 +0000 |
commit | 33bbe12beac9ca53ca056720a255052881847f18 (patch) | |
tree | ff79c8408103638f5dc4e2cf251b329da699d854 | |
parent | 24e7821d243156a4e09d144f169accfd834e49eb (diff) | |
download | FreeBSD-src-33bbe12beac9ca53ca056720a255052881847f18.zip FreeBSD-src-33bbe12beac9ca53ca056720a255052881847f18.tar.gz |
List some sysctl variables that influence accounting
PR: 65070
Submitted by: Marc Silver <marcs@draenor.org>
X-MFC after: re approval
-rw-r--r-- | lib/libc/sys/acct.2 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libc/sys/acct.2 b/lib/libc/sys/acct.2 index 43e1a90..6e1a8d2 100644 --- a/lib/libc/sys/acct.2 +++ b/lib/libc/sys/acct.2 @@ -78,6 +78,21 @@ This call is permitted only to the super-user. 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: +.Pp +.Bl -tag -width ".Va kern.acct_chkfreq" +.It Va kern.acct_chkfreq +Specifies the frequency (in minutes) 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. @@ -112,6 +127,7 @@ An I/O error occurred while reading from or writing to the file system. .El .Sh SEE ALSO .Xr acct 5 , +.Xr accton 8 , .Xr sa 8 .Sh HISTORY The |