zl程序教程

您现在的位置是:首页 >  后端

当前栏目

speedtest插件

2023-09-11 14:22:06 时间

linux带宽速度测试脚本

在speedtest官网可以直接下载,最新信息可访问官网
https://www.speedtest.net/apps/cli

在这里插入图片描述
安装命令:
$ curl -s https://install.speedtest.net/app/cli/install.rpm.sh | sudo bash
$ sudo yum install speedtest

[root@EasygoingEssential-VM tool]#sudo yum install speedtest
.....
Installed:
  speedtest-1.0.0.2_1.5ae238b-1.x86_64

Complete!
[root@EasygoingEssential-VM tool]#

安装成功!!!
运行
# speedtest

[root@EasygoingEssential-VM tool]#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

     Server: Kansas Research and Education Network - Wichita, KS (id = 20531)
        ISP: ColoCrossing
    Latency:    30.93 ms   (0.09 ms jitter)
   Download:   629.87 Mbps (data used: 1.2 GB)
     Upload:  1053.69 Mbps (data used: 1.9 GB)
Packet Loss:     0.0%
 Result URL: https://www.speedtest.net/result/c/3e612177-de87-4da2-8bfe-7c3e4527841b
[root@EasygoingEssential-VM tool]#

更多功能:
# speedtest --hlep