88971730 2013-06-21
1.安装libpcap,libcurses
yum install -y gcc flex byacc libpcap ncurses ncurses-devel libpcap-devel tcpdump
2.下载安装包
tar -xvf iftop-0.17.tar.gz
./configure --prefix=/usr/local/iftop
make
make install
3.启动
cd /usr/local/iftop/sbin
./iftop
./iftop -i eth0 -P