From owner-freebsd-net Sat Jun 8 22:31:32 2002 Delivered-To: freebsd-net@freebsd.org Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id 9997937B477; Sat, 8 Jun 2002 22:31:20 -0700 (PDT) Received: from pool0193.cvx40-bradley.dialup.earthlink.net ([216.244.42.193] helo=mindspring.com) by scaup.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17GvI7-0004rq-00; Sat, 08 Jun 2002 22:31:04 -0700 Message-ID: <3D02E7F4.432854D0@mindspring.com> Date: Sat, 08 Jun 2002 22:30:28 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Andy Sparrow Cc: Larry Rosenman , freebsd-net@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: MIB support for network devices in FreeBSD? References: <20020609035146.55A8F3E2D@CRWdog.demon.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Andy Sparrow wrote: > But these stats don't seem to be collected for at least some network card > drivers, presumably because those drivers aren't collecting those stats, e.g. > they don't #include , and thus don't allocate a mib structure or > increment any counters in that structure. > > I can confirm that it definately doesn't work for the 'wi' and 'lo' drivers... > > However, it definately seems to work for the xl driver... Benchmark the driver. If it's fast, it doesn't collect the statistics. Just like "WITNESS": if your machine is fast, "WITNESS" is disabled. 8-). Bascially, most of these statistics are "manager fluff" (as opposed to "seat cushion fluuf" or "pocket fluff"). What you want is statistics that are managed universally; see "netstat -ibdt" for the usefult statistics kept per interface. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message