Install iftop from source on CentOS
iftop allow you to monitor network traffic like top command. You can download iftop source from
http://www.ex-parrot.com/~pdw/iftop/
Before installing, install required packages
1 |
yum -y install libpcap libpcap-devel |
To install iftop, run
1 2 3 4 5 6 7 |
cd /usr/local/src wget http://www.ex-parrot.com/~pdw/iftop/download/iftop-0.17.tar.gz tar xvf iftop-0.17.tar.gz cd iftop-0.17 ./configure --prefix=/usr/local make make install |
To run iftop, type
1 |
iftop |
See iftop