qingshuidanxia 2014-03-23
CentOS 下iftop 的安装
安装方法一:编译安装(安装成功)
wget http://ex-parrot.com/~pdw/iftop/download/iftop- 0.17pre3.tar.gz
yum -y install gcc libpcap-devel* ncurses-devel (可能要装tcpdump)
tar -zxf iftop-0.17pre3.tar.gz
cd iftop-0.17pre3
./configure
make&&make install
安装方法2:(懒人办法,最简单 没测试过)
直接省略上面的步骤
CentOS系统:
yum install flex byacc libpcap ncurses ncurses-devel
wget ftp://fr2.rpmfind.net/linux/dag/RedHat/el5/en/i386/dag/RPMS/iftop-0.17-1.el5.rf.i386.rpm
rpm -ivh iftop-0.17-1.el5.rf.i386.rpm