From owner-freebsd-questions Mon Jun 16 07:31:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA08124 for questions-outgoing; Mon, 16 Jun 1997 07:31:51 -0700 (PDT) Received: from gudgeon.csv.warwick.ac.uk (csubl@gudgeon.csv.warwick.ac.uk [137.205.148.207]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA07968 for ; Mon, 16 Jun 1997 07:28:53 -0700 (PDT) From: Mr M P Searle Message-Id: <1420.199706161427@gudgeon.csv.warwick.ac.uk> Received: by gudgeon.csv.warwick.ac.uk id PAA01420; Mon, 16 Jun 1997 15:27:04 +0100 (BST) Subject: Re: bandwidth usage In-Reply-To: <3.0.1.32.19970615195726.007e35a0@jcwells.deskmail.washington.edu> from Jason Wells at "Jun 15, 97 07:57:26 pm" To: jcwells@u.washington.edu (Jason Wells) Date: Mon, 16 Jun 1997 15:26:57 +0100 (BST) Cc: j@lumiere-cc.com, freebsd-questions@freebsd.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > At 19:45 14-06-97 -0700, Jesse wrote: > >I was wondering if anyone knew a simple method or program to determine how > >much data is being sent/received through my ethernet port (just coming > >from my machine, or going to my machine, not other machines on the > >ethernet). preferrably a live display that can show me how many k/sec are > >being transferred. > > I believe that netstat in certain incarnations may do this also. It does > not have a neat graphic display but it can make a tabular output to your > display every few seconds. I think -rsi -c 'interval' is what you might > need. See 'man netstat' for the specific command line options. > If you want a graphical display, xperfmon++ sort of does it - it's not actually k/sec transferred, but number of packets sent and received.