How to Install iftop on RedHat 6 64 bits, CentOS.
iftop is a very very cool tool. It displays what connections are made and their usage etc…

Script to Install

#Install iftop RedHat 6
#by Felipe Ferreira http://felipeferreira.netconf July/2011
yum  -y install libpacap ncurses ncurses-devel flex byacc libpacap-devel
#(libpcap-devel) is not available on RedHat repo so we got to compile it
tar -zxvf libpcap-1.1.1.tar.gz
cd libpcap-1.1.1
make install
#Then finally install iftop
tar -zxvf iftop-0.17.tar.gz
cd iftop-0.17
make install
echo "installation done"
iftop -h

Can also try using the rpm packages from here

Tags: , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *