From owner-freebsd-questions@FreeBSD.ORG Wed Jan 7 12:21:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56336106566C; Wed, 7 Jan 2009 12:21:30 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (cl-2958.ham-01.de.sixxs.net [IPv6:2001:6f8:900:b8d::2]) by mx1.freebsd.org (Postfix) with ESMTP id B52628FC18; Wed, 7 Jan 2009 12:21:29 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost [127.0.0.1]) by mp2.macomnet.net (8.14.2/8.14.2) with ESMTP id n07CLSSL025117; Wed, 7 Jan 2009 15:21:28 +0300 (MSK) (envelope-from maxim@macomnet.ru) Date: Wed, 7 Jan 2009 15:21:28 +0300 (MSK) From: Maxim Konovalov To: Gary Jennejohn In-Reply-To: <20090107131417.609c602d@ernst.jennejohn.org> Message-ID: <20090107152107.F7116@mp2.macomnet.net> References: <5D49E7A8952DC44FB38C38FA0D758EAD0164F6D6@mtlexch01.mtl.com> <20090107131417.609c602d@ernst.jennejohn.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Eitan Shefi , freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: "/var/log/messages" logs appear in the output of "sysctl -a" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2009 12:21:31 -0000 On Wed, 7 Jan 2009, 13:14+0100, Gary Jennejohn wrote: > On Wed, 7 Jan 2009 13:30:20 +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.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. > This is just an output from sysctl kern.msgbuf. -- Maxim Konovalov