linux下安装iftop查看带宽使用情况

本教程在CentOS下测试通过:
yum install -y byacc flex libpcap libpcap-devel
cd /usr/local/src/
tar zxvf iftop-0.17.tar.gz
cd iftop-0.17/
./configure
make
make install
iftop -h
iftop