网络监控工具ifstat和iftop使用yum无法安装成功,需要使用源代码方式安装。注意:使用源代码方式安装需要有C编译环境gcc。

1、安装ifstat wget http:///ifstat/ifstat-1.1.tar.gz tar xzvf ifstat-1.1.tar.gz cd ifstat-1.1 ./configure make && make install

2、安装iftop yum install -y flex byacc libpcap ncurses-devel libpcap-devel wget http://www.ex-parrot.com/pdw/iftop/download/iftop-1.0pre4.tar.gz tar zxvf iftop-1.0pre4.tar.gz cd iftop-1.0pre4 ./configure make && make install