DragonFly BSD
DragonFly submit List (threaded) for 2004-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Accounting manpage syncs


From: "Justin C. Sherrill" <justin@xxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Apr 2004 17:09:32 -0400

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


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]