tespeed-测试网速的Python工具
1.安装(环境CentOS7)
- #pip install lxml
- #wget wget http://sourceforge.net/projects/socksipy/files/socksipy/SocksiPy%201.00/SocksiPy.zip
- #git clone https://github.com/Janhouse/tespeed.git
- #mv SocksiPy.zip tespeed/SocksiPy/
- #cd tespeed/SocksiPy/
- #unzip SocksiPy.zip
- #touch __init__.py
2.测试
- # ./tespeed.py
- Getting ready. Use parameter -h or --help to see available features.
- Loading speedtest configuration...
- IP: 222.128.***.***; Lat: 39.928900; Lon: 116.388300; ISP: China Unicom Beijing
- Loading server list...
- Looking for closest and best server...
- Testing latency...
- 264 ms latency for http://www2.unicomtest.com/speedtest/ (Beijing Unicom, Beijing, China) [0.83 km]
- 6 ms latency for http://125.35.54.2/speedtest/ (Beijing Fiber City, Beijing, China) [0.83 km]
- 262 ms latency for http://bj3.unicomtest.com/speedtest/ (Beijing Broadband Network, Beijing, China) [0.83 km]
- 320 ms latency for http://st1.bjtelecom.net/speedtest/ (Beijing Telecom, Beijing, China) [0.83 km]
- Download size: 1.96 MiB; Downloaded in 0.03 s
- Download speed: 59.23 Mbit/s
- Download size: 1.96 MiB; Downloaded in 0.04 s
- Download speed: 53.35 Mbit/s
- Download size: 8.09 MiB; Downloaded in 0.09 s
- Download speed: 90.70 Mbit/s
- Download size: 8.09 MiB; Downloaded in 0.09 s
- Download speed: 90.47 Mbit/s
- Download size: 17.89 MiB; Downloaded in 0.20 s
- Download speed: 91.72 Mbit/s
- Download size: 17.89 MiB; Downloaded in 0.19 s
- Download speed: 92.02 Mbit/s
- Download size: 31.78 MiB; Downloaded in 0.34 s
- Download speed: 92.99 Mbit/s
- Download size: 71.49 MiB; Downloaded in 0.78 s
- Download speed: 91.27 Mbit/s
- Download size: 126.52 MiB; Downloaded in 1.71 s
- Download speed: 73.91 Mbit/s
- Download size: 198.53 MiB; Downloaded in 3.26 s
- Download speed: 60.94 Mbit/s
- Download size: 285.07 MiB; Downloaded in 4.46 s
- Download speed: 63.89 Mbit/s
- Download size: 776.39 MiB; Downloaded in 12.43 s
- Download speed: 62.45 Mbit/s
- Upload size: 2.10 MiB; Uploaded in 0.05 s
- Upload speed: 43.10 Mbit/s
- Upload size: 2.10 MiB; Uploaded in 0.06 s
- Upload speed: 37.35 Mbit/s
- Upload size: 8.39 MiB; Uploaded in 1.11 s
- Upload speed: 7.57 Mbit/s
- Upload size: 8.39 MiB; Uploaded in 1.53 s
- Upload speed: 5.50 Mbit/s
- Upload size: 16.78 MiB; Uploaded in 3.36 s
- Upload speed: 5.00 Mbit/s
- Upload size: 16.78 MiB; Uploaded in 3.15 s
- Upload speed: 5.32 Mbit/s
- Upload size: 33.55 MiB; Uploaded in 6.56 s
- Upload speed: 5.11 Mbit/s
Refer:
https://github.com/Janhouse/tespeed
http://www.open-open.com/lib/view/open1428475876229.html
https://github.com/sivel/speedtest-cli
http://www.linuxdiyf.com/linux/12561.html
tespeed-测试网速的Python工具的更多相关文章
- [转]使用Linux命令行测试网速
装speedtest-cli speedtest-cli是一个用Python编写的轻量级Linux命令行工具,在Python2.4至3.4版本下均可运行.它基于Speedtest.net的基础架构来测 ...
- 使用Linux命令行测试网速
安装speedtest speedtest是一个用Python编写的轻量级Linux命令行工具,在Python2.4至3.4版本下均可运行.它基于Speedtest.net的基础架构来测量网络的上/下 ...
- 使用Linux命令行测试网速-----speedtest-cli
https://github.com/sivel/speedtest-cli 当发现上网速度变慢时,人们通常会先首先测试自己的电脑到网络服务提供商(通常被称为“最后一公里”)的网络连接速度.在可用于测 ...
- Linux命令行测试网速speedtest.net
Linux命令行测试网速speedtest.net 当发现上网速度变慢时,人们通常会先首先测试自己的电脑到网络服务提供商(通常被称为"最后一公里")的网络连接速度.在可用于测试宽带 ...
- Linux 测试网速
Linux 测试网速 1.直接wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip 一个10M的文件, ...
- 测试网站页面网速的Python脚本
一.测试网站页面网速脚本 [root@salt ~]# cat check_url.py #!/usr/bin/python # coding: UTF-8 import StringIO,pycur ...
- Linux下使用Speedtest测试网速
导读 Speedtest是用来测试网络性能的开源软件,在Linux下面安装Speedtest可以用来测试网络出口的上传和下载速度,帮助排查网络方面导致的故障. Speedtest介绍 由于公司几个项目 ...
- Linux 使用 Speedtest 测试网速
Speedtest的linux客户端是用python写的一个安装包 安装python包管理器pip yum -y install python-pip 如果提示No package python-pi ...
- Linux下如何测试网速
本文链接:https://blog.csdn.net/Beyond_F4/article/details/80497118在Linux下如何测量下载和上传的速度? 这里用到一个Python工具spee ...
随机推荐
- Python是编译运行的
虽然Python被说成是一种解释型语言,但是实际上,Python源程序要先经过编译,然后才能运行. 与Java语言类似,Python源程序编译之后得到的是字节码,交由Python虚拟机来运行. 关于这 ...
- linux 中 chmod/chown/cngrp的用法与区别
1.chgrp(转变文件所属用户组) chgrp 用户组 文件名 .若是整个目次下的都改,则加-R参数用于递归. 如:chgrp -R user smb.conf 2.chown(转变文件拥有者) ...
- Container ViewController初探1
今天调试程序遇到个问题,iOS7下在弹出Modal的子界面时,弹出层次不对,键盘和界面被分割在了Window的两侧,导致显示异常Presenting view controllers on detac ...
- name值与id值在Js获取元素时的区别
1.适用范围 除base.head.html.script.meta.title标签外,id都可以用:name只适用于select.form.frame.iframe.img.a.input等中. H ...
- smartUpload组件文件上传
public class SmartUploadServlet extends HttpServlet { public void doGet(HttpServletRequest request, ...
- HDU 5234 Happy birthday --- 三维01背包
HDU 5234 题目大意:给定n,m,k,以及n*m(n行m列)个数,k为背包容量,从(1,1)开始只能往下走或往右走,求到达(m,n)时能获得的最大价值 解题思路:dp[i][j][k]表示在位置 ...
- Hive 复习
hive分为CLI(command line)(用的比较多) JDBC/ODBC-ThriftServer hiveServer(hive -service hiveserver),JDBC访问,一个 ...
- Python学习(3)——if语句
虽然在之前接触过C.C++.Java等,但是还是觉得Python写出来的好看o(≧v≦)o~,简洁明了! score = raw_input("score:") score=int ...
- EXT2 文件系统
转自:http://www.cnblogs.com/ggjucheng/archive/2012/08/22/2651641.html#ext2_filesystem 认识ext文件系统 硬盘组成与分 ...
- (转)A Beginner's Guide To Understanding Convolutional Neural Networks Part 2
Adit Deshpande CS Undergrad at UCLA ('19) Blog About A Beginner's Guide To Understanding Convolution ...