linux下流量监控软件iftop的安装和使用

iftop是LINUX下查看網路流量的軟件.
1. iftop如何安裝:
首先查看自己的系統是否安裝libpcap相關套件

[root@idc-xxxx-xxxx-xxxx-xxxx ~]# yum list | grep libpcap
libpcap.i386                             14:0.9.4-12.el5        installed
libpcap-devel.i386                       14:0.9.4-12.el5        installed

若沒有安裝請執行:

[root@idc-56-112-212-116 ~]# yum install libp*


iftop官方網站:
http://www.ex-parrot.com/~pdw/iftop/

獲得軟件:wgt -c
http://www.ex-parrot.com/~pdw/iftop/download/iftop-0.17.tar.gz

查看readme后安裝 :configure,make; make install

运行: /usr/local/sbin/iftop 即可
原文地址:https://www.cnblogs.com/feihongwuhen/p/7170803.html