Jeff Abrahamson on 16 Apr 2004 17:22:04 -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:00:22PM -0400, Mike Leone wrote:
>   [19 lines, 148 words, 1002 characters]  Top characters: _ntieaos
> 
> 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?
> 
> (I can tell from the system response time that everything is slow. Just
> would like to know how much bandwidth is being eaten up at any point in
> time)

Do you have a way of finding out how much has transferred (ls -l, du
-sh, etc.)?

Then rate = delta space / delta time.  You can do this by hand or with
a simple perl or awk script.

-- 
 Jeff

 Jeff Abrahamson  <http://www.purple.com/jeff/>
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

 A cool book of games, highly worth checking out:
 http://www.amazon.com/exec/obidos/ASIN/1931686963/purple-20

Attachment: signature.asc
Description: Digital signature