"/var/log/messages" logs appear in the output of "sysctl -a"
Max Laier
max at love2party.net
Wed Jan 7 04:37:32 PST 2009
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 at freebsd.org
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier at EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
More information about the freebsd-questions
mailing list