Mike Leone on 16 Apr 2004 20:17:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] How to check bandwidth usage remotely via command-line?


Tobias DiPasquale (toby@cbcg.net) had this to say on 04/16/04 at 13:17: 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Friday 16 April 2004 13:00, Mike Leone wrote:
> | Let's assume this situation:
> |
> | I start a huge mother download (1.2G - yes, I said G :-), and then go to
> | work. I can SSH back into my home LAN, at which point I have command-line
> | only, no GUI.
> |  And I want to see what kind of transfer rates/bandwidth usage is happening
> | - has it slowed to a crawl? Is it perking along? Is it screaming? etc
> |
> | I know I can do things like iconfig, etc. But that isn't gonna tell me
> | things like "480K bps current incoming", or whatever. Anybody know of a
> | Debian package, or Linux commands, that can estimate that for me?
> |
> 
> Before download:
> % cat /proc/net/dev
> 
> [initiate download]
> 
> After download completed:
> % cat /proc/net/dev
> 
> Then just subtract the after from the before. All numbers are in bytes.



No, no. I want a amt of bandwidth in use at the moment, not how mych I
downloaded after it's done.
> 


And I won't always have such a begining number.
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug