From owner-freebsd-net@FreeBSD.ORG Wed Jul 9 00:02:33 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4889937B401 for ; Wed, 9 Jul 2003 00:02:33 -0700 (PDT) Received: from cell.sick.ru (cell.sick.ru [195.91.162.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAFAD43FA3 for ; Wed, 9 Jul 2003 00:02:31 -0700 (PDT) (envelope-from glebius@cell.sick.ru) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.6/8.12.8) with ESMTP id h6972UNx069470 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 9 Jul 2003 11:02:30 +0400 (MSD) (envelope-from glebius@cell.sick.ru) Received: (from glebius@localhost) by cell.sick.ru (8.12.6/8.12.6/Submit) id h6972TTc069469; Wed, 9 Jul 2003 11:02:29 +0400 (MSD) Date: Wed, 9 Jul 2003 11:02:29 +0400 From: Gleb Smirnoff To: Charlie & Message-ID: <20030709070229.GB69335@cell.sick.ru> References: <3F0BA58E.1F8888A2@kuzbass.ru> <20030709060958.GD69076@cell.sick.ru> <200307090853.31579.root@home.bluegrass.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200307090853.31579.root@home.bluegrass.sk> User-Agent: Mutt/1.5.1i cc: Eugene Grosbein cc: net@freebsd.org Subject: Re: unicast octets statistics X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2003 07:02:33 -0000 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