linux 测速 speedtest

发布时间:2024年01月02日

Speedtest CLI: Internet speed test for the command line

ubuntu、debian

非root加sudo
sudo apt-get install curl -y
curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | sudo bash
sudo apt-get install speedtest -y

root用户不加sudo
apt-get install curl -y
curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | bash
apt-get install speedtest -y

Fedora/centos/Redhat

curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.rpm.sh | sudo bash
sudo yum install speedtest -y

curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.rpm.sh | bash
yum install speedtest -y

speedtest
=========================================================================

You may only use this Speedtest software and information generated
from it for personal, non-commercial use, through a command line
interface on a personal computer. Your use of this software is subject
to the End User License Agreement, Terms of Use and Privacy Policy at
these URLs:

? ? ? ? https://www.speedtest.net/about/eula
? ? ? ? https://www.speedtest.net/about/terms
? ? ? ? https://www.speedtest.net/about/privacy

=========================================================================

Do you accept the license? [type YES to accept]: yes
License acceptance recorded. Continuing.


? ?Speedtest by Ookla

[error] Error: [111] Connection refused
[error] Error: [0] Timeout occurred in connect.
[error] Error: [0] Cannot open socket
? ? ? Server: China Unicom HeNan 5G - Zhengzhou (id: 36646)
? ? ? ? ?ISP: China Unicom
Idle Latency: ? ?17.18 ms ? (jitter: 0.66ms, low: 16.83ms, high: 18.94ms)
? ? Download: ? 465.75 Mbps (data used: 646.1 MB)
? ? ? ? ? ? ? ? ?28.90 ms ? (jitter: 23.37ms, low: 20.76ms, high: 305.62ms)
? ? ? Upload: ? ?33.45 Mbps (data used: 58.8 MB)
? ? ? ? ? ? ? ? ?23.30 ms ? (jitter: 24.11ms, low: 16.71ms, high: 478.35ms)
?Packet Loss: Not available.
? Result URL: 这里会有网址,可以复制到浏览器查看

文章来源:https://blog.csdn.net/qq_24768591/article/details/135338491
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。