List some sysctl variables that influence accounting

PR:		65070
Submitted by:	Marc Silver <marcs@draenor.org>
X-MFC after:	re approval
This commit is contained in:
Christian Brueffer 2004-04-16 20:32:56 +00:00
parent 7870c3c61c
commit e8490b5cb4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128332

View file

@ -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