Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2012 05:18:02 -0700
From:      Jeremy Chadwick <jdc@koitsu.org>
To:        FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org
Subject:   Re: kern/167321: Implement sysctl to control kernel accounting log messages (e.g. acct(2))
Message-ID:  <20120426121802.GA68694@icarus.home.lan>
In-Reply-To: <201204261140.q3QBe8b3001272@freefall.freebsd.org>
References:  <20120426113723.C5D39102C1E@icarus.home.lan> <201204261140.q3QBe8b3001272@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
...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?20120426121802.GA68694>