Walt Mankowski on 16 Apr 2004 17:34: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?


On Fri, Apr 16, 2004 at 01:17:14PM -0400, Tobias DiPasquale wrote:
> 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.

How does that help him get the bandwidth usage _while it's running_?

Walt

Attachment: signature.asc
Description: Digital signature