Commands to install iftop on Centos:

Pre-req install of libraries:

yum -y install libpcap libpcap-devel ncurses ncurses-devel

Download and Install iftop:

wget http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz
tar -zxvf iftop-0.17.tar.gz
cd iftop-0.17
./configure
make
make install

To make use of iftop run the command:

iftop

iftop

Written by Matt Cooper
Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: matt@linuxtutorial.co.uk.