Speedtest工具介绍:
Speedtest强大而知名的全球宽带网络速度测试网站,采用Flash载入界面,Alexa世界排名非常高,Speedtest.net在全球有数百个测试节点,国内有测速节点几十个。
官网地址:http://www.speedtest.net/
下载使用
#git clone https://github.com/sivel/speedtest-cli.git
#wget https://github.com/sivel/speedtest-cli/archive/master.zip
# cd speedtest-cli/
# ./speedtest_cli.py
Retrieving speedtest.net configuration…
Retrieving speedtest.net server list…
Testing from Hangzhou Alibaba Advertising Co.,Ltd. (101.201.234.94)…
Selecting best server based on latency…
Hosted by China Telecom ZheJiang Branch (Hangzhou) [4.87 km]: 22.808 ms
Testing download speed………………………………….
Download: 61.39 Mbit/s //下载速度
Testing upload speed…………………………………………..
Upload: 1.16 Mbit/s //上传速度
#./speedtest_cli.py –share 测试完毕之后生成一张图片
Share results: http://www.speedtest.net/result/5558273557.png

2016081802

二.iftop工具介绍
安装依赖
#yum install -y flex byacc libpcap ncurses ncurses-devel libpcap-devel
yum安装软件:
#Yum install -y iftop yum安装
第三方安装:
#wget http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz
# ./configure && make && make install
# iftop

2016081801

Iftop图解:
第一行:带宽显示
中间部分:外部连接列表,即记录了哪些ip正在和本机的网络连接

中间部分右边:实时参数分别是该访问ip连接到本机2秒,10秒和40秒的平均流量

=>代表发送数据,<= 代表接收数据

底部三行:表示发送,接收和全部的流量

底部三行第二列:为你运行iftop到目前流量

底部三行第三列:为高峰值

底部三行第四列:为平均值

 

发表评论

后才能评论