Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 1997 16:10:31 +1000
From:      Hugh Blandford <hugh@island.net.au>
To:        John-David Childs <jdc@denver.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: bandwidth monitoring?
Message-ID:  <3.0.1.32.19970722161031.006f1434@mail.island.net.au>
In-Reply-To: <Pine.BSI.3.95.970721213049.2379B-100000@milehigh.denver.ne t>
References:  <3.0.3.32.19970721211937.006baff4@eyelab.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
It depends on what you want to do, but there is a utility that runs as a
daemon using the bpf and gives you the number of bytes to and from which IP
address and port number.  You can use an input file for your requirements.
I use it to monitor the amount of traffic that flows to and from a
particular C class and some of my own IP addresses.  You can run a
particular command and it writes the count out to file in a tab delimited
format.

The package also comes with trafshow which allows you to see what is
flowing over the network.  I got it from:

ftp://ftp.freebsd.org/pub/FreeBSD/incoming/bpft-2.0.tgz

Regards,

Hugh Blandford.


At 21:32 21/07/97 -0600, you wrote:
>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)
>
>MRTG 2.4 is in the ports collection.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.1.32.19970722161031.006f1434>