summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorChristian Brueffer <brueffer@FreeBSD.org>2004-04-16 20:32:56 +0000
committerChristian Brueffer <brueffer@FreeBSD.org>2004-04-16 20:32:56 +0000
commite8490b5cb46aa2d5bf1fc0f0e7f89a1d67910171 (patch)
treeff79c8408103638f5dc4e2cf251b329da699d854 /lib/libc
parent7870c3c61c609ddac45c7ca3b6dd4492665c0f37 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/acct.216
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libc/sys/acct.2 b/lib/libc/sys/acct.2
index 43e1a904f6a7..6e1a8d28ce93 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