Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jan 2009 13:25:03 +0100
From:      Mateusz Guzik <mjguzik@gmail.com>
To:        Eitan Shefi <eitans@mellanox.co.il>
Cc:        freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: "/var/log/messages" logs appear in the output of "sysctl -a"
Message-ID:  <20090107122503.GA12470@skucha>
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 Wed, Jan 07, 2009 at 01:30:20PM +0200, 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.msgbuf: ound file system checks in 60 seconds.
> <118>
> mtnic0: FW version:2.6.0
> mtnic0: Board ID:
> mtnic0: Using 1 tx rings for port:1 [4096]
> mtnic0: Using 4 rx rings for port:1 [1024]
> mtnic0: Using 1 tx rings for port:2 [4096]
> mtnic0: Using 4 rx rings for port:2 [1024]
[..] 
>  
> Any idea how can such logs apear in "sysctl -a" ?
>  

kern.msgbuf dumps so called 'message buf' containing messages printed by
the kernel (for example by a NIC driver). It's accessible also via
/dev/klog and syslogd uses it as a source for /var/log/messages.

-- 
Mateusz Guzik <mjguzik at gmail.com>



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20090107122503.GA12470>