最近把中華有個速在必行方案, 就把家裡的網路昇到 1G/600M
就很好奇在 freeBSD 的 CLI 模式怎樣測速
原來 Speedtest 也有 python scripts 可以用
# curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python3.8 -
其實這個不需要 root 權限啦, 結果來囉
juan@psychic:~ % curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python3.8 -
Retrieving speedtest.net configuration...
Testing from Chunghwa Telecom (xxx.xxx.xx.xxx)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Chunghwa Mobile (Taipei) [1.90 km]: 2.295 ms
Testing download speed................................................................................
Download: 935.72 Mbit/s
Testing upload speed......................................................................................................
Upload: 586.52 Mbit/s
不錯不錯, 這次可以不用換防火牆