|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] How to check bandwidth usage remotely via command-line?
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 16 April 2004 13:45, Matthew Ozor wrote:
| I think he wants to monitor he download in real time
| if Im reading this right.
|
| How much is done, whats the transfer rate, time left,
| ect..
|
| Can you see current incoming and outgoing transfers
| from the command line and get there rate?
|
Well, neither /proc/net/dev nor bwm will give you that capability for any one
particular connection, unfortunately. The only thing I can think of for that
is to install an iptables ACCEPT rule that matches only the transfer you are
interested in and watch the packet and byte counteres using iptables -L ...,
but you'd have to do that before you initiated the connection. Otherwise, all
you can get is the general bandwidth usage statistics from bwm or whatever.
(bwm is nice... I just installed it and its much better than having to write
the script to parse /proc/net/dev yourself)
- --
Tobias DiPasquale
202A 04C4 2CE6 B985 8520 88D6 CD25 1A6C B9B5 1595
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAgB52zSUabLm1FZURAu2uAJ9JE6FwMDss5aaMouLaNEZSSMgevwCglWvi
NWK2vh4/8RkrYdTdaFu90FA=
=yuUE
-----END PGP SIGNATURE-----
___________________________________________________________________________
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
|
|