From e8490b5cb46aa2d5bf1fc0f0e7f89a1d67910171 Mon Sep 17 00:00:00 2001 From: Christian Brueffer Date: Fri, 16 Apr 2004 20:32:56 +0000 Subject: [PATCH] List some sysctl variables that influence accounting PR: 65070 Submitted by: Marc Silver X-MFC after: re approval --- lib/libc/sys/acct.2 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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