Iftop-网络流量实时监控工具
iftop介绍Iftop 主要用来显示本机网络流量情况及各相互通信的流量集合,如单独同那台机器间的流量大小,非常适合于代理服务器和iptables服务器使用。iftop安装1、安装依赖
[*]yum install libpcap-devel ncurses-devel
2、开始安装
[*]wget http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz
[*]tar xzf iftop-0.17.tar.gz
[*]cd iftop-0.17
[*]./configure
[*]make && make install
如何使用直接执行iftop即可运行查看流量情况。
执行iftop -h得到帮助信息
[*]#iftop -h
[*]iftop: display bandwidth usage on an interface by host
[*]
[*]Synopsis: iftop -h | [-npbBP] [-i interface] [-f filter coolcode] [-N net/mask]
[*]
[*] -h display this message
[*] -n don't do hostname lookups
[*] -N don't convert port numbers to services
[*] -p run in promiscuous mode (show traffic between other
[*] hosts on the same network segment)
[*] -b don't display a bar graph of traffic
[*] -B Display bandwidth in bytes
[*] -i interface listen on named interface
[*] -f filter coolcode use filter coolcode to select packets to count
[*] (default: none, but only IP packets are counted)
[*] -F net/mask show traffic flows in/out of network
[*] -P show ports as well as hosts
[*] -m limit sets the upper limit for the bandwidth scale
[*] -c config file specifies an alternative configuration file
官方网站:http://www.ex-parrot.com/pdw/iftop/
相当不错,感谢无私分享精神! 生活***好玩,因为生活老***玩我! 走,MM,咱们化蝶去…… 此地禁止大小便,违者没收工具。 真是 收益 匪浅 解释就系掩饰,掩饰等于无出色,无出色不如回家休息!!! 学了下,可能又忘了
页:
[1]