Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jan 2009 13:14:17 +0100
From:      Gary Jennejohn <gary.jennejohn@freenet.de>
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:  <20090107131417.609c602d@ernst.jennejohn.org>
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, 7 Jan 2009 13:30:20 +0200
"Eitan Shefi" <eitans@mellanox.co.il> 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.
> <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]
> mtnic0: Initializing MSIX
> mtnic0: Enabling MSI-X (11 vectors)
> mtnic0: Board ID:MT_0BD0110004
> mtnic0: [ITHREAD]
> mtnic0: Activating port:1
> mtnic0: Ethernet address: 00:02:c9:03:35:20
> mtnic0: Activating port:2
> mtnic1: Ethernet address: 00:02:c9:03:35:21
> mtnic0: [ITHREAD]
> mtnic0: [ITHREAD]
> mtnic0:
> mtnic0:
> mtnic0:
> mtnic0: Port 1 - link up
> mtnic0: [ITHREAD]
> mtnic0: [ITHREAD]
> mtnic0: [ITHREAD]
> Limiting icmp ping response from 300 to 200 packets/sec
> Limiting icmp ping response from 300 to 200 packets/sec
> Limiting icmp ping response from 1497 to 200 packets/sec
> Limiting icmp ping response from 1500 to 200 packets/sec
> Limiting icmp ping response from 1498 to 200 packets/sec
> Limiting icmp ping response from 1500 to 200 packets/sec
>  
>  
> Any idea how can such logs apear in "sysctl -a" ?
>  

If you were viewing this as root on the console then you were simply
seeing kernel output interleaved with the output from sysctl.

---
Gary Jennejohn



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