Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 1997 07:45:46 -0700 (PDT)
From:      Jesse <j@lumiere.net>
To:        Gary Schrock <root@eyelab.psy.msu.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: bandwidth monitoring?
Message-ID:  <Pine.BSF.3.96.970722074413.27586A-100000@leaf.lumiere.net>
In-Reply-To: <3.0.3.32.19970721211937.006baff4@eyelab.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mon, 21 Jul 1997, Gary Schrock wrote:

> I'm looking for something that will allow me to monitor the amount of
> bandwidth being consumed by a machine.  Any ideas?  (Basically I need to
> know the Kbit/s traffic on a machine, and the only machine that I really
> have access to is the machine I want to monitor)

Here's a nice simple way I use:

	netstat 1

It gives me output like this (with 1 being 1 byte):

            input        (Total)           output
   packets  errs      bytes    packets  errs      bytes colls
        16     0       1685          9     0        619     0
         8     0        615          6     0        452     0
        16     0       1117          9     0        654     0
        39     0       3099         52     0       3516     0
        25     0       1919         24     0       1669     0
        27     0       2064         20     0       1537     0
        11     0       1469          9     0        660     0

Good luck.

Jesse Shrieve
j@lumiere.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970722074413.27586A-100000>