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
#!/bin/bash #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 wget http://www.tcpdump.org/release/libpcap-1.1.1.tar.gz tar -zxvf libpcap-1.1.1.tar.gz cd libpcap-1.1.1 ./configure make make install #Then finally 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 echo "installation done" iftop -h
Can also try using the rpm packages from here
http://packages.sw.be/iftop/