使用linux命令测试网络带宽
一、安装speedtest
[root@docker ~]# wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
–2020-08-11 16:37:52-- https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.76.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.76.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 65018 (63K) [text/plain]
Saving to: ‘speedtest.py’
100%[========================================================================