system
February 12, 2005, 7:09am
1
Hello,
iftop does for network usage what top(1) does for CPU usage. It listens to network traffic on a named interface and displays a table of current bandwidth usage by pairs of hosts.
http://www.ex-parrot.com/~pdw/iftop/
How to install it
first, compile it from source for your OS
rpmbuild --rebuild --with <your_arch> http://carat-hosting.com/src/iftop-0.16-0.src.rpm
where <your_arch> is :
RedHat 9 = rht9x
CentOS 3.x = cos3x
Fedora 1 = fdr10
Fedora 2 = fdr20
White Box = whb3x
so for example, if you have a CentOS 3.x just do :
rpmbuild --rebuild --with cos3x http://carat-hosting.com/src/iftop-0.16-0.src.rpm
Then install the rpm
cd /usr/src/redhat/RPMS/i386/
rpm -ivh iftop-0.16-0.i386.rpm
Then launch it with :
#> iftop
USE IT AT YOUR OWN RISK
Pascal
Thanks a ton Pascal. iftop is a good tool to find bandwidth hogs or DOS soruces if you’re being attacked.
Chris
system
February 13, 2005, 6:50am
3
indeed, I installed it when my box was under dos attack and it really did help me to find who was consumming all my bandwidth
Pascal
system
April 16, 2006, 4:24am
4
IFTOP 0.17-1 Source RPM
Hello,
UPGRADING or INSTALLING last version of IFTOP 0.17.1.
You must have ncurses and ncurses-devel
iftop does for network usage what top(1) does for CPU usage. It listens to network traffic on a named interface and displays a table of current bandwidth usage by pairs of hosts.
http://www.ex-parrot.com/~pdw/iftop/
How to install it
first, compile it from source for your OS
rpmbuild --rebuild --with <your_arch> http://carat-hosting.com/rpms/srpm/iftop-0.17-1.src.rpm
where <your_arch> is :
RedHat 9 = rht9x
CentOS 3.x = cos3x
CentOS 4.x = cos4x
Fedora 1 = fdr10
Fedora 2 = fdr20
White Box = whb3x
so for example, if you have a CentOS 3.x just do :
rpmbuild --rebuild --with cos3x http://carat-hosting.com/rpms/srpm/iftop-0.17-1.src.rpm
or
wget http://carat-hosting.com/rpms/srpm/iftop-0.17-1.src.rpm
then rpmbuild --rebuild --with cos3x iftop-0.17-1.src.rpm
Then install the rpm
cd /usr/src/redhat/RPMS/your_arch/
rpm -Uvh iftop-0.17-1.your_arch.rpm
Then launch it with :
#> iftop
you may type h when iftop is launched to see help commands (like p to see port, n to not reslove dns, etc…)
USE IT AT YOUR OWN RISK
Pascal
system
April 16, 2006, 10:32am
6
Very slick, thanks Pascal! – I got it installed on my CentOS 4.3 box in under 5 minutes