Date: Thu, 26 Apr 2012 12:20:12 GMT From: Jeremy Chadwick <jdc@koitsu.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/167321: Implement sysctl to control kernel accounting log messages (e.g. acct(2)) Message-ID: <201204261220.q3QCKCCh037823@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/167321; it has been noted by GNATS. From: Jeremy Chadwick <jdc@koitsu.org> To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org Cc: Subject: Re: kern/167321: Implement sysctl to control kernel accounting log messages (e.g. acct(2)) Date: Thu, 26 Apr 2012 05:18:02 -0700 ...and also the patch for the acct(2) man page, documenting this variable. -- | Jeremy Chadwick jdc@koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB | --- SNIP --- --- src/lib/libc/sys/acct.2.orig 2009-08-03 01:13:06.000000000 -0700 +++ src/lib/libc/sys/acct.2 2012-04-26 05:11:42.670706272 -0700 @@ -87,6 +87,16 @@ .It Va kern.acct_suspend The percentage of free disk space below which process accounting will suspend. +.It Va kern.acct_logging +If set to 0, the kernel will inhibit console messages indicating when +accounting is enabled, disabled, suspended, or resumed. This can be +useful when the +.Xr periodic.conf 5 +variable +.Va daily_accounting_enable +is set to +.Dq YES . +The default value is 1 (enabled). .El .Sh RETURN VALUES On error -1 is returned.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204261220.q3QCKCCh037823>