From owner-freebsd-questions@FreeBSD.ORG Thu Dec 23 13:05:52 2004 Return-Path: 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 6489716A4CE for ; Thu, 23 Dec 2004 13:05:52 +0000 (GMT) Received: from male.aldigital.co.uk (male.thebunker.net [213.129.64.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4401243D5D for ; Thu, 23 Dec 2004 13:05:51 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from gravitas.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by male.aldigital.co.uk (Postfix) with ESMTP id 56FEA97684; Thu, 23 Dec 2004 13:05:50 +0000 (GMT) Received: from [127.0.0.1] (localhost [127.0.0.1])iBND5n2d090876; Thu, 23 Dec 2004 13:05:49 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <41CAC2A8.3040803@infracaninophile.co.uk> Date: Thu, 23 Dec 2004 13:05:44 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla Thunderbird 1.0 (X11/20041213) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ben Washington-Yule References: <41CA414A.4030309@yahoo.com.au> In-Reply-To: <41CA414A.4030309@yahoo.com.au> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC593587509113185EDC9048D" cc: freebsd-questions@freebsd.org Subject: Re: Bandwith info command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2004 13:05:52 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC593587509113185EDC9048D Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Ben Washington-Yule wrote: > What command can I use to see what is using the bandwith on my 56kbs > dialup internet connection? If you want to see what's using the bandwidth *right now*, then something like: # tcpdump -n -i tun0 (Nb. if you don't turn of DNS resolution using -n, you'll almost definitely conclude that it is DNS traffic that's eating all your bandwidth). If you prefer a more graphical interface, ethereal (ports: net/ethereal) is a good tool. Or you can use ports like tcpflow or tcpshow if the output of tcpdump isn't to your taste. If you're more concerned with monitoring usage in the long term, then look into network monitors like mrtg or nagios + nagiosstat or cricket which will produce graphs of time series data -- note, some scripting and general fiddling about will be required to make those tools display precisely what you want. Batteries not included. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor School Rd PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone Tel: +44 1304 617253 Kent, CT14 0JL UK --------------enigC593587509113185EDC9048D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQCVAwUBQcrCrZr7OpndfbmCAQIIwAQAl71j3DYvlFIoD7Im3jRowwbAXX/dh38Q ycSh8a1lVCcX9UhUT2KIXDdFB19mLB6/nb8YV/kTqtY8IhIyaU3r5GO0+Y6c4d0k WN+Rh9dFN0NNg0sF7ye2cbpsJz4NCVDQUiT4/J98JLVmU2ysd2XH6o6EiPIM4wFa 0nkhmh/RksY= =5G0a -----END PGP SIGNATURE----- --------------enigC593587509113185EDC9048D--