Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jan 2009 13:24:54 +0100
From:      Max Laier <max@love2party.net>
To:        freebsd-questions@freebsd.org
Cc:        Eitan Shefi <eitans@mellanox.co.il>
Subject:   Re: "/var/log/messages" logs appear in the output of "sysctl -a"
Message-ID:  <200901071324.54338.max@love2party.net>
In-Reply-To: <5D49E7A8952DC44FB38C38FA0D758EAD0164F6D6@mtlexch01.mtl.com>
References:  <5D49E7A8952DC44FB38C38FA0D758EAD0164F6D6@mtlexch01.mtl.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901071324.54338.max>