unicast octets statistics

Charlie & root at home.bluegrass.sk
Tue Jul 8 23:53:38 PDT 2003


On Wednesday 09 July 2003 08:09, Gleb Smirnoff wrote:
> On Wed, Jul 09, 2003 at 01:18:06PM +0800, Eugene Grosbein wrote:
> E> Does FreeBSD 4.8-STABLE keep per-interface summary for received
> E> unicast octets? More precisely, I need to know number of unicast
> E> octets received by my router via ep0 from uplink. Its ethernet interface
> E> carries lots of broadcast (NETBIOS) traffic I need not care of.
>
> glebius@:~:>snmpwalk -Os -c XXX -v 1 localhost ifInUcastPkts.1
> ifInUcastPkts.1 = Counter32: 6062056
>
> /usr/ports/net/net-snmp installed

This gives you packets, not octets...
There is no such thing in SNMP I think, so some ipfw hackery might be what he 
wants...
Regards,
Milan



More information about the freebsd-net mailing list