Date: Sat, 08 Jun 2002 22:30:28 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: Andy Sparrow <spadger@best.com> Cc: Larry Rosenman <ler@lerctr.org>, freebsd-net@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: MIB support for network devices in FreeBSD? Message-ID: <3D02E7F4.432854D0@mindspring.com> References: <20020609035146.55A8F3E2D@CRWdog.demon.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <net/if_mib.h>, 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D02E7F4.432854D0>