使用SpeedTest CLI测试VPS网络连接速度

发布于 作者 量尺寸留下评论

虽然网络速度是相对的,但在同一标准下还是可以测下。

下载 speedtest.py 脚本,如果没安装Python的,先安装 apt install python

wget https://raw.github.com/sivel/speedtest-cli/master/speedtest.py

可以把测速脚本移动到系统脚本目录,并归入root用户组。
chmod a+rx speedtest.py
mv speedtest.py /usr/local/bin/speedtest
chown root:root /usr/local/bin/speedtest

运行脚本测速,可以显示机房与speedtest的距离,一个下载速度,一个上传速度,对于VPS主要看上传,也就是发送速度。上传速度越快越好。
speedtest

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注