ubuntu查看网速

使用speedomster测试网速

bash 复制代码
sudo apt-get install speedometer

查询需要测速的网卡

bash 复制代码
speedometer -r ens33 -t ens33

-r: 指定网卡的接收速度

-t: 指定网卡的发送速度

使用nload测试

bash 复制代码
sudo apt-get install nload

测速

bash 复制代码
nload -t 200 -i 1024 -o 128 -U M

参数含义,使用nload -h查看

​​​​​​​

使用speedtest-cli测试网速

这看起来是用于测试到指定服务器的速度的。

bash 复制代码
sudo apt-get install speedtest-cli

speedtest-cli

到默认测试服务器的上传速度

bash 复制代码
$ speedtest-cli --no-download --bytes
Retrieving speedtest.net configuration...
Testing from China Telecom (113.65.31.118)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by HKIX (Hong Kong) [133.01 km]: 217.552 ms
Skipping download test
Testing upload speed......................................................................................................
Upload: 0.64 Mbyte/s

到默认测试服务器的下载速度

bash 复制代码
speedtest-cli --no-upload --bytes
Retrieving speedtest.net configuration...
Testing from China Telecom (113.65.31.118)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by STC (Hong Kong) [134.49 km]: 187.916 ms
Testing download speed..........^C
Cancelling...

小结

相关推荐
晚风吹人醒.44 分钟前
SSH远程管理及访问控制
linux·运维·ssh·scp·xshell·访问控制·远程管理
Uncertainty!!2 小时前
Linux多用户情况下个别用户输入密码后黑屏
linux·远程连接
necessary6532 小时前
使用Clion查看linux环境中的PG源码
linux·运维·服务器
江湖有缘3 小时前
Jump个人仪表盘Docker化部署教程:从0到 搭建专属导航页
运维·docker·容器
小猪佩奇TONY3 小时前
Linux 内核学习(14) --- linux x86-32 虚拟地址空间
linux·学习
Lam㊣4 小时前
Centos 7 系统docker:更换镜像源
linux·docker·centos
FL16238631294 小时前
win11+WSL+Ubuntu-xrdp+远程桌面闪退+黑屏闪退解决
linux·运维·ubuntu
石头5304 小时前
Kubernetes监控全栈解决方案:从零搭建Prometheus+Grafana监控体系
linux
ha20428941944 小时前
Linux操作系统学习记录之---TcpSocket
linux·网络·c++·学习
AOwhisky5 小时前
Linux逻辑卷管理:从“固定隔间”到“弹性存储池”的智慧
linux·运维·服务器