

speedtest-cli一键安装脚本
source link: https://vpsxb.net/4697/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

speedtest-cli一键安装脚本 | VPS小白
之前一直使用P3TERX大佬的脚本安装speedtest的cli版本,最近发现大佬的脚本已经无法运行speedtest测速了:

大佬的speedtest版本还是1.0.0,去speedtest官网看了下,最新的版本已经是1.2.0,于是就把大佬的脚本更新了下。
Install Ookla Speedtest CLI
- Install Ookla Speedtest CLI
curl -fsSL https://raw.githubusercontent.com/vpsxb/script-P3TERX/master/speedtest-cli.sh | sudo bash
- Uninstall Ookla Speedtest CLI
sudo rm -f /usr/local/bin/speedtest
speedtest Speedtest by Ookla Server: 1010 - Hong Kong (id: 43356) ISP: AKILE LTD Idle Latency: 2.26 ms (jitter: 0.03ms, low: 2.22ms, high: 2.30ms) Download: 1445.10 Mbps (data used: 669.0 MB) 9.65 ms (jitter: 0.85ms, low: 2.29ms, high: 12.66ms) Upload: 1514.78 Mbps (data used: 681.3 MB) 2.20 ms (jitter: 0.13ms, low: 2.15ms, high: 4.60ms) Packet Loss: Not available. Result URL: https://www.speedtest.net/result/c/cf3c2e90-ddb5-44f0-acc4-d3499c86eed7
speedtest -h Speedtest by Ookla is the official command line client for testing the speed and performance of your internet connection. Version: speedtest 1.2.0.84 Usage: speedtest [<options>] -h, --help Print usage information -V, --version Print version number -L, --servers List nearest servers -s, --server-id=# Specify a server from the server list using its id -I, --interface=ARG Attempt to bind to the specified interface when connecting to servers -i, --ip=ARG Attempt to bind to the specified IP address when connecting to servers -o, --host=ARG Specify a server, from the server list, using its host's fully qualified domain name -p, --progress=yes|no Enable or disable progress bar (Note: only available for 'human-readable' or 'json' and defaults to yes when interactive) -P, --precision=# Number of decimals to use (0-8, default=2) -f, --format=ARG Output format (see below for valid formats) --progress-update-interval=# Progress update interval (100-1000 milliseconds) -u, --unit[=ARG] Output unit for displaying speeds (Note: this is only applicable for ‘human-readable’ output format and the default unit is Mbps) -a Shortcut for [-u auto-decimal-bits] -A Shortcut for [-u auto-decimal-bytes] -b Shortcut for [-u auto-binary-bits] -B Shortcut for [-u auto-binary-bytes] --selection-details Show server selection details --ca-certificate=ARG CA Certificate bundle path -v Logging verbosity. Specify multiple times for higher verbosity --output-header Show output header for CSV and TSV formats Valid output formats: human-readable (default), csv, tsv, json, jsonl, json-pretty Machine readable formats (csv, tsv, json, jsonl, json-pretty) use bytes as the unit of measure with max precision Valid units for [-u] flag: Decimal prefix, bits per second: bps, kbps, Mbps, Gbps Decimal prefix, bytes per second: B/s, kB/s, MB/s, GB/s Binary prefix, bits per second: kibps, Mibps, Gibps Binary prefix, bytes per second: kiB/s, MiB/s, GiB/s Auto-scaled prefix: auto-binary-bits, auto-binary-bytes, auto-decimal-bits, auto-decimal-bytes
转载请注明原文链接
Recommend
-
41
程序员 - @badgate - 今天买了一个 vultr 服务器想搭一个 vpn,但是我刚把 ssr 一键装上去,再登陆就提示有一个陌生 ip 尝试连接失败。。是不是这些脚本不安全啊?用的是 MobaXterm
-
30
V2Ray最新协议VLESS一键安装脚本 发表于 2020.08.24 12:21 浏览量 11277 评论数 8...
-
4
当你在本地连接服务端的时候,有许多因素影响着所谓的「速度」。如服务器配置、服务器带宽、连接走线、本地网络等。所以有时候感觉「慢」不一定是服务器差,还可能是你走线不好甚至你本地就炸了。这时候想要真实的反应服务器带宽,直接在服务器上测速才...
-
8
V2EX › Windows 想在 windows 下面写一个脚本,一键安装开发环境,用啥写比较好写一些? yazoox
-
28
一键脚本安装V2Ray+WebSocket+TLS+Nginx救活被墙VPS 之前介绍了手动配置V2Ray+WebSocket+TLS+Nginx的教程(V2Ray+WebSocket+TLS+Nginx配置与使用教程),配置比较繁琐,这里分享一个一键脚本实现V2Ray 基于 Nginx 的 vmess+ws+tls。
-
6
Linux 一键安装常见/最新内核脚本 锐速/BBR/BBR魔改版/BBRPlus/BBR2 Moexin 2020-07-10 in
-
19
搭建SSR的第一步,我们需要有一台较为便宜的国外VPS服务器,如果你还没有,可以参考...
-
4
2022年最新VPS一键安装脚本搭建V2ray详细图文教程 爱国者 edited this page Dec 21, 2021 ·
-
9
DSS+Linkis Ansible 单机一键安装脚本 为解决繁琐的部署流程,简化安装步骤,本脚本提供一键安装最新版本的DSS+Linkis环境;部署包中的软件采用我自己编译的安装包,并且为最新版本:DS...
-
4
在Windows上安装rsync通常需要使用诸如WSL2或Cygwin等解决方案。然而,这些方法可能会导致性能下降、系统资源占用高以及用户体验不佳等问题。因此,我们将通过一个简单的PowerShell脚本来安装cwRsync,避免上述问题。 请注意: 执行这个脚本...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK