From owner-freebsd-questions Fri Apr 27 13:17: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by hub.freebsd.org (Postfix) with ESMTP id F3BDF37B424 for ; Fri, 27 Apr 2001 13:16:59 -0700 (PDT) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id f3RLPmj59027; Fri, 27 Apr 2001 16:25:48 -0500 (CDT) (envelope-from nick@rogness.net) Date: Fri, 27 Apr 2001 16:25:47 -0500 (CDT) From: Nick Rogness X-Sender: nick@cody.jharris.com To: Alex Popa Cc: questions@FreeBSD.ORG Subject: Re: Is there a way to find out the number of bytes tx/rx on a net if? In-Reply-To: <20010427230617.A22579@ldc.ro> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 27 Apr 2001, Alex Popa wrote: > I am unable to find a way to get to the total number of bytes > sent/received via each interface... I can see that ifconfig only outputs > the number of packets sent/received. > > Is there a way to get these statistics, w/o adding special rules to > ipfw/ipf and parsing their output? netstat -ib Nick Rogness - Keep on Routing in a Free World... "FreeBSD: The Power to Serve!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message