functionclub / zbench Goto Github PK
View Code? Open in Web Editor NEWThis project forked from oooldking/script
又一个Linux VPS测评脚本
This project forked from oooldking/script
又一个Linux VPS测评脚本
有的节点做测速的时候如果是完全丢包好像就卡在这边了。
我有个 VPS 一直卡在 Softlayer 的测速上
这是怎么搞
hi,
最后一步报错,我看了下之前的issue,报错似乎并不一样,是我Python版本太低了吗?
麻烦大佬看看
Traceback (most recent call last):
File "Generate.py", line 624, in <module>
shm = traceroute_to_dict("/tmp/shm.txt")
File "Generate.py", line 29, in traceroute_to_dict
res_data = urllib2.urlopen(req)
File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/lib64/python2.7/urllib2.py", line 1244, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib64/python2.7/urllib2.py", line 1214, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 110] Connection timed out>
cat: /tmp/gdu.txt_table: No such file or directory
curl: (6) Could not resolve host: api.zbench.kirito.moe; Unknown error
Result Address:https://zbench.kirito.moe/record.php?IKEY=
Your bench data is saved to /root/report.html
Do you want to check your Test Report? [y/n]:
Traceback (most recent call last):
File "Generate.py", line 607, in
traceroute_to_table("/tmp/shm.txt")
File "Generate.py", line 57, in traceroute_to_table
string = string + template.format(i,x["ip"],x["route"],x["asn"],x["latency"]) + "\n"
ValueError: zero length field name in format
centos 6.8 x86_64 openvz
我觉得测速还是要闲置一下最长时间的,我的服务器网上不是很好,国外的节点卡了一下午还没测完...要不是偶尔看一下出来了一个,我还以为卡住了。
还要就是路由追踪的功能,只有三个可以用了。其他的都不显示。
如题,显示
Traceback (most recent call last):
File "Generate.py", line 641, in
speed_cn[18],speed_cn[19],speed_cn[20],speed_cn[21],speed_cn[22],speed_cn[23])
IndexError: list index out of range
debian9系统,python 2.7
详细报告可以看这里,我的两台服务器不同地区 不同运营商都检测不到
https://zbench.kirito.moe/record-cn.php?IKEY=19055
https://zbench.kirito.moe/record-cn.php?IKEY=19056
https://www.ctolib.com/FunctionClub-SWEB.html
这篇文章里的工具已经失效了,麻烦大佬能不能修复下。谢谢
Traceback (most recent call last):
File "/tmp/ZPing.py", line 216, in <module>
result = pinger.ping()
File "/tmp/ZPing.py", line 196, in ping
delay = self.ping_once()
File "/tmp/ZPing.py", line 171, in ping_once
icmp = socket.getprotobyname("icmp")
socket.error: protocol not found
会开放8001端口显示测试报关,这个功能如何关闭?
[root@45 ~]# wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh && bash ZBench-CN.sh
--2018-08-26 05:16:55-- https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh
正在解析主机 raw.githubusercontent.com... 151.101.20.133
正在连接 raw.githubusercontent.com|151.101.20.133|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:16659 (16K) [text/plain]
正在保存至: “ZBench-CN.sh”
100%[===================================================================================================================================================================================================>] 16,659 --.-K/s in 0s
缺少“Last-modified”文件头-- 关闭时间戳标记。
2018-08-26 05:16:55 (58.0 MB/s) - 已保存 “ZBench-CN.sh” [16659/16659])
请输入你的服务器提供商: vi^H
请确认你所在地的IP:111.58.168.80 [y/n]: n
Traceback (most recent call last):
File "Generate.py", line 625, in
traceroute_to_table("/tmp/shm.txt")
File "Generate.py", line 73, in traceroute_to_table
string = string + template.format(i,x["ip"],x["route"],x["isp"],x["asn"],x["latency"]) + "\n"
ValueError: zero length field name in format
cat: /tmp/shm.txt_table: 没有那个文件或目录
cat: /tmp/sht.txt_table: 没有那个文件或目录
cat: /tmp/shu.txt_table: 没有那个文件或目录
cat: /tmp/gdm.txt_table: 没有那个文件或目录
cat: /tmp/gdt.txt_table: 没有那个文件或目录
cat: /tmp/gdu.txt_table: 没有那个文件或目录
PASS在线查看测评报告:https://zbench.kirito.moe/record-cn.php?IKEY=13688
您的测评报告已保存在 /root/report.html
你想现在查看您的测评报告吗? [y/n]: y
访问 http://45.63.1.15:8001/index.html 查看您的测试报告,按 Ctrl + C 退出
Serving HTTP on 0.0.0.0 port 8001 ...
请输入你的服务器提供商:
Installing Virt-What......
等老半天,还要装证书等等操作。这个太折腾了。
如果能在README里写详细些就好了。
自CacheFly测速完毕后,一直无法进行下一个节点的测速(DigitalOcean India)
无法测速(腾讯云广州)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.