From owner-freebsd-questions@FreeBSD.ORG Wed Jan 7 12:14:23 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 54CAB106566C; Wed, 7 Jan 2009 12:14:23 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout3.freenet.de (mout3.freenet.de [IPv6:2001:748:100:40::2:5]) by mx1.freebsd.org (Postfix) with ESMTP id E084C8FC0C; Wed, 7 Jan 2009 12:14:22 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.22] (helo=12.mx.freenet.de) by mout3.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #76) id 1LKXIi-0001Dx-G6; Wed, 07 Jan 2009 13:14:20 +0100 Received: from te816.t.pppool.de ([89.55.232.22]:58023 helo=ernst.jennejohn.org) by 12.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #76) id 1LKXIi-0007iu-8a; Wed, 07 Jan 2009 13:14:20 +0100 Date: Wed, 7 Jan 2009 13:14:17 +0100 From: Gary Jennejohn To: "Eitan Shefi" Message-ID: <20090107131417.609c602d@ernst.jennejohn.org> In-Reply-To: <5D49E7A8952DC44FB38C38FA0D758EAD0164F6D6@mtlexch01.mtl.com> References: <5D49E7A8952DC44FB38C38FA0D758EAD0164F6D6@mtlexch01.mtl.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: 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 Reply-To: gary.jennejohn@freenet.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2009 12:14:23 -0000 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. --- Gary Jennejohn