Re: MIB support for network devices in FreeBSD?

2002-06-09 Thread Terry Lambert
Andre Oppermann wrote: > > Benchmark the driver. > > > > If it's fast, it doesn't collect the statistics. > > Come on, this is bullshit. whatever++ hardly makes any difference. > There are other places where way more cycles are wasted for less. You removed my "8-)" by truncating my statement, an

Re: MIB support for network devices in FreeBSD?

2002-06-09 Thread Andre Oppermann
Terry Lambert wrote: > > 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 count

Re: MIB support for network devices in FreeBSD?

2002-06-08 Thread Terry Lambert
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

Re: MIB support for network devices in FreeBSD?

2002-06-08 Thread Larry Rosenman
On Sat, 2002-06-08 at 22:51, Andy Sparrow wrote: > > > I believe you can get this info if you add the net/snmp or net/snmp4 > > port. > > Hi Larry, > > Thanks for replying. > > Hmmm. I'm talking about code that uses a FreeBSD-specific sysctl to > interrogate the in-kernel if MIB counters, li

Re: MIB support for network devices in FreeBSD?

2002-06-08 Thread Andy Sparrow
> I believe you can get this info if you add the net/snmp or net/snmp4 > port. Hi Larry, Thanks for replying. Hmmm. I'm talking about code that uses a FreeBSD-specific sysctl to interrogate the in-kernel if MIB counters, like this: /* gather stats */ int freebsd_sysctl_get(struct Devices*de

Re: MIB support for network devices in FreeBSD?

2002-06-08 Thread Larry Rosenman
On Sat, 2002-06-08 at 22:01, Andy Sparrow wrote: > > Hi all, > > (pls Cc: me on any response, not subscribed to either list) > > Can't find any references to this in the archives. > > What's the status of MIB support for network interfaces in FreeBSD? Is it > deprecated, optional, "would be

MIB support for network devices in FreeBSD?

2002-06-08 Thread Andy Sparrow
Hi all, (pls Cc: me on any response, not subscribed to either list) Can't find any references to this in the archives. What's the status of MIB support for network interfaces in FreeBSD? Is it deprecated, optional, "would be nice"? Reason for asking is that a dockapp I use has stopped displ