unicast octets statistics

Gleb Smirnoff glebius at cell.sick.ru
Wed Jul 9 00:02:33 PDT 2003


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

Shurely. One can evaluate traffic according to packet count.

ipfw counters would be more precise.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


More information about the freebsd-net mailing list