Date: Sun, 18 Jun 2000 18:57:51 +0200 (CEST) From: Paul Herman <pherman@frenchfries.net> To: Matt <matts@thepentagon.com> Cc: freebsd-net@FreeBSD.ORG Subject: Re: ppp bandwidth monitoring Message-ID: <Pine.BSF.4.21.0006181845490.317-100000@bagabeedaboo.security.at12.de> In-Reply-To: <200006182206450618.2040B2A2@10.1.1.105>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 18 Jun 2000, Matt wrote:
> I'm after a small utility to keep track of the amount of data
> downloaded over a ppp connection, throughout all sessions (user
> ppp, in ddial mode) until cleared or reset.
There are a few ways to do this, all have ways of showing the amount
of data.
* user ppp
a 'show proto' will give you a breakdown of all kindsa protocols.
* 'netstat 5'
will show you the *total* amount of traffic on the machine
(probably not what you want.)
* /usr/ports/net/ntop
will show you the current bandwidth on a particular interface
(like tun0, for example.)
* tcpstat
will monitor a particular interface (or tcpdump file) and give
you statistics on a particular interface (bandwidth, packets per
second, avg. packet size, protocol breakdowns, etc.) pretty
powerful/configurable.
http://www.frenchfries.net/paul/tcpstat/
* MRTG will graph all this for you (if you aren't looking for numbers)
http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html
All do basically the same thing in very different ways, if you are
looking to count bytes over an interface.
-Paul.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0006181845490.317-100000>
