快速业务通道

linux下查看端口流量的工具收集大全

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-04-02
是:在之前10秒钟一共的流量
一列的意思是:在之前的40秒钟五分之一的流量数值
大约是这个意思,具体的限于本人英文不好,下面贴出man page的英文:
Display:
When running, iftop uses the whole screen to display network usage. At the top of the display is a logarithmic scale for the bar graph which gives a visual indication of traffic.

The main part of the display lists, for each pair of hosts, the rate at which data has been sent and received over the preceding 2, 10 and 40 second intervals. The direction of data flow is indicated by arrows, <= and =>. For instance,

1.foo.example.com => bar.example.com 1Kb 500b 100b
2. <= 2Mb 2Mb 2Mb
shows, on the first line, traffic from foo.example.com to bar.example.com; in the preceding 2 seconds, this averaged 1Kbit/s, around half that amount over the preceding 10s, and a fifth of that over the whole of the last 40s. During each of those intervals, the data sent in the other direction was about 2Mbit/s. On the actual display, part of each line is inverted to give a visual indication of the 10s average of traffic. You might expect to see something like this where host foo is making repeated HTTP requests to bar, which is sending data back which saturates a 2Mbit/s link.
By default, the pairs of hosts responsible for the most traffic (10 second average) are displayed at the top of the list.

At the bottom of the display, various totals are shown, including peak traffic over the last 40s, total traffic transferred (after filtering), and total transfer rates averaged over 2s, 10s and 40s.

六:mtr工具

usage: mtr [-hvrctglspni46] [--help] [--version] [--report]
[--report-cycles=COUNT] [--curses] [--gtk]
[--raw] [--split] [--no-dns] [--address interface]
[--psize=bytes/-s bytes]
[--interval=SECONDS] HOSTNAME [PACKETSIZE]

根据以上参数:mtr -h 提供帮助命令 mtr -v 显示mtr的版本信息 mtr -r 已报告模式显示 例This option puts mtr into report mode. When in this mode, mtr will run for the number of cycles specified by the -c option, and then print statistics and exit. [root@test6 ~]# mtr -r 218.213.83.193
test6.test.com Snt: 10 Loss% Last Avg Best Wrst StDev
172.16.3.2 0.0% 0.8 1.8 0.8 9.2 2.6
115.238.91.225 0.0% 1.7 2.3 1.2 5.6 1.5
61.130.126.125 0.0% 4.2 1.9 1.1 5.4 1.5
220.191.128.113 0.0% 3.4 1.8 0.9 5.0 1.3
202.97.55.5 0.0% 7.1 4.3 3.4 7.1 1.1
202.97.33.74 0.0% 5.2 4.4 3.7 6.6 0.9
202.97.33.2 10.0% 5.6 6.9 5.6 10.2 1.5
202.97.33.5 0.0% 4.0 4.7 3.7 7.1 1.2
202.97.61.38 0.0% 33.5 33.5 31.8 36.8 1.5
202.97.62.58

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号