Mike Chirico on 17 Apr 2004 14:20:02 -0000


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

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


 On Fri, Apr 16, 2004 at 01:00:22PM -0400, Mike Leone said:
 > Let's assume this situation:
 >=20
 > 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 happeni=
 ng
 > - has it slowed to a crawl? Is it perking along? Is it screaming? etc
 >=20
 > 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?
 >=20
 > (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)

I use screen (terminal multiplexer) to do this.  scp at the 
command line gives you this information. Just don't send scp in 
the background.

You can still disconnect or abort the connection. Screen will
keep it running for you.

I think screen comes standard with most distributions. Yes,
it's command line and not GUI.

It's real advantage is if you're working in a terminal session
and you get disconnected.  You can login and pickup where
you left off...it's capable of multiple sessions.

Someone gave a talk on this utility at one of the meetings,
so notes are probably floating around.

Hope this helps...


Regards,

Mike Chirico


___________________________________________________________________________
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