From owner-freebsd-questions@FreeBSD.ORG Wed Jan 7 12:37:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A9A1106566B for ; Wed, 7 Jan 2009 12:37:32 +0000 (UTC) (envelope-from max@love2party.net) Received: from mout-bounce.kundenserver.de (mout-bounce.kundenserver.de [212.227.17.3]) by mx1.freebsd.org (Postfix) with ESMTP id 14A088FC08 for ; Wed, 7 Jan 2009 12:37:31 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-064-187-099.pools.arcor-ip.net [88.64.187.99]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1LKXSx0yLH-0007R1; Wed, 07 Jan 2009 13:24:55 +0100 Received: (qmail 45671 invoked from network); 7 Jan 2009 12:24:54 -0000 Received: from fbsd8.laiers.local (192.168.4.151) by mx.laiers.local with SMTP; 7 Jan 2009 12:24:54 -0000 From: Max Laier Organization: FreeBSD To: freebsd-questions@freebsd.org Date: Wed, 7 Jan 2009 13:24:54 +0100 User-Agent: KMail/1.10.1 (FreeBSD/8.0-CURRENT; KDE/4.1.1; i386; ; ) References: <5D49E7A8952DC44FB38C38FA0D758EAD0164F6D6@mtlexch01.mtl.com> In-Reply-To: <5D49E7A8952DC44FB38C38FA0D758EAD0164F6D6@mtlexch01.mtl.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901071324.54338.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1/dZNK+MsQT+j/afPAFNvI6XH3yH0OxxnITrpO VY/Pxsb4AKjqOyRF9cKGGMDgYEgjQQKZnPOmSUiLT3qAk/UVHx KvAH/wBM53FaiCzAGd6Nw== Cc: Eitan Shefi Subject: Re: "/var/log/messages" logs appear in the output of "sysctl -a" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2009 12:37:32 -0000 On Wednesday 07 January 2009 12:30:20 Eitan Shefi wrote: > I am testing a NIC driver. > I found it's logs and "/var/log/messages" logs in the output of "sysctl > -a": > I run "sysctl -a | less", and there I find: > > kern.devstat.version: 6 > kern.devstat.generation: 137 > kern.devstat.numdevs: 1 > kern.kobj_methodcount: 143 > kern.log_wakeups_per_second: 5 > kern.msgbuf_clear: 0 > kern.msgbuf: ound file system checks in 60 seconds. ^^^^^^^^^^^^^ <...> > Any idea how can such logs apear in "sysctl -a" ? The kernel message buffer is exported via a sysctl (kern.msgbuf) and as you asked to see all sysctl - this one is included, too. This is not a message for freebsd-hackers@ btw! -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News