Accounting manpage syncs

Justin C. Sherrill justin at shiningsilence.com
Mon Apr 19 14:09:32 PDT 2004


Eirik Nygaard wrote:

> The sysctls are defined in src/sys/kern/kern_acct.c, search for SYSCTL_INT
> and you will find them. The last field that only contain "" is the
> documentation field.

OK.  Attached is a patch - is this the right way to go about this?

 
--- kern_acct.c	Mon Apr 19 17:03:59 2004
+++ kern_acct.c.old	Mon Apr 19 16:57:15 2004
@@ -96,15 +96,15 @@
  */
 static int acctsuspend = 2;	/* stop accounting when < 2% free space left */
 SYSCTL_INT(_kern, OID_AUTO, acct_suspend, CTLFLAG_RW,
-	&acctsuspend, 0, "Percentage of free disk space below which accounting will suspend.");
+	&acctsuspend, 0, "");
 
 static int acctresume = 4;	/* resume when free space risen to > 4% */
 SYSCTL_INT(_kern, OID_AUTO, acct_resume, CTLFLAG_RW,
-	&acctresume, 0, "Minimum percentage of free disk space needed to resume accounting.");
+	&acctresume, 0, "");
 
 static int acctchkfreq = 15;	/* frequency (in seconds) to check space */
 SYSCTL_INT(_kern, OID_AUTO, acct_chkfreq, CTLFLAG_RW,
-	&acctchkfreq, 0, "Frequency (in seconds) of free disk space checking.");
+	&acctchkfreq, 0, "");
 
 /*
  * Accounting system call.  Written based on the specification and




More information about the Submit mailing list