Date: Wed, 09 Jul 2003 12:35:33 +0300 From: Petri Helenius <pete@he.iki.fi> To: Charlie & <root@home.bluegrass.sk> Cc: net@freebsd.org Subject: Re: unicast octets statistics Message-ID: <3F0BE1E5.6010201@he.iki.fi> In-Reply-To: <200307090853.31579.root@home.bluegrass.sk> References: <3F0BA58E.1F8888A2@kuzbass.ru> <20030709060958.GD69076@cell.sick.ru> <200307090853.31579.root@home.bluegrass.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
Charlie & wrote: >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 > > Or maybe you should consider using ifInOctets... Pete
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F0BE1E5.6010201>