"/var/log/messages" logs appear in the output of "sysctl -a"

Gary Jennejohn gary.jennejohn at freenet.de
Wed Jan 7 04:14:23 PST 2009


On Wed, 7 Jan 2009 13:30:20 +0200
"Eitan Shefi" <eitans at 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


More information about the freebsd-questions mailing list