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...

小结

相关推荐
跨境小新6 分钟前
静态住宅Facebook养号难不难?
运维·服务器
siriuuus26 分钟前
Linux 网络配置解析、IP地址配置及常用网络命令
linux·网络
ZYMFZ27 分钟前
Linux 防火墙 Iptables
linux·运维·服务器
河南博为智能科技有限公司1 小时前
单串口服务器-工业级串口联网解决方案
运维·服务器·物联网·边缘计算
爱喝水的鱼丶1 小时前
SAP-MM:SAP采购组织全面学习指南:从概念到实战配置图解
运维·开发语言·数据库·学习·sap·mm模块·采购组织
Rum_0M1 小时前
服务器内部信息获取
运维·服务器·web安全·网络安全·信息安全·职业技能大赛
口嗨农民工2 小时前
linux 时间相关的命令
linux·运维·服务器
三不原则2 小时前
企业级CI/CD全流程实战指南
运维·ci/cd
油条不卖2 小时前
搞坏了docker 双系统下重装ubuntu22.04
运维·docker·容器
往事随风去2 小时前
面试官:mysql从数据库断开一段时间后,部分binlog已丢失,如何重建主从?
运维·数据库·mysql