From owner-freebsd-questions@FreeBSD.ORG Wed Dec 14 00:02:32 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D355D16A41F for ; Wed, 14 Dec 2005 00:02:32 +0000 (GMT) (envelope-from parv@pair.com) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6493E43D62 for ; Wed, 14 Dec 2005 00:02:32 +0000 (GMT) (envelope-from parv@pair.com) Received: from default.chvlva.adelphia.net ([68.67.248.52]) by mta11.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051214000231.HTKT4477.mta11.adelphia.net@default.chvlva.adelphia.net> for ; Tue, 13 Dec 2005 19:02:31 -0500 Received: by default.chvlva.adelphia.net (Postfix, from userid 1000) id BA0F9B547; Tue, 13 Dec 2005 19:02:34 -0500 (EST) Date: Tue, 13 Dec 2005 19:02:34 -0500 From: Parv To: f-q Message-ID: <20051214000234.GA28630@holestein.holy.cow> Mail-Followup-To: f-q Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: Getting the network traffic amount since the interface went up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2005 00:02:32 -0000 I am interested to know the total amount of data passed through a network interface (em0 in my case) since the interface went up. So far, i have seen that pload, nload, & "netstat -b -I" report the amount since the operating system has been up, not since the new ethernet connection has been (re)established. Is there a way to find out the amount of traffic (in & out) since a network interface has been up (not since the OS has been up)? - Parv --