iftop的安装与使用

来源:互联网 发布:mac更改图标大小 编辑:程序博客网 时间:2024/06/05 17:30

 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 即可

原创粉丝点击