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

小结

相关推荐
qwy7152292581636 分钟前
1-Docker Engine 安装前置环境配置
运维·docker·容器
菜菜艾1 小时前
基于llama.cpp部署私有大模型
linux·运维·服务器·人工智能·ai·云计算·ai编程
重生的黑客1 小时前
Linux开发工具:条件编译、动静态库与 make/makefile 入门
linux·运维·服务器
minji...2 小时前
Linux 线程同步与互斥(三) 生产者消费者模型,基于阻塞队列的生产者消费者模型的代码实现
linux·运维·服务器·开发语言·网络·c++·算法
.柒宇.2 小时前
nginx入门教程
运维·nginx
w6100104662 小时前
cka-2026-ConfigMap
java·linux·cka·configmap
cc_yy_zh2 小时前
Win10 家庭版找不到Device Guard; 无法处理 VMware Workstation与Device Guard不兼容问题
linux·vmware
航Hang*2 小时前
VMware vSphere 云平台运维与管理基础——第2章(扩展):VMware ESXi 5.5 安装、配置与运维
运维·服务器·github·系统安全·虚拟化
嵌入式吴彦祖2 小时前
Luckfox Pico Ultra W WIFI
linux·嵌入式硬件
SPC的存折3 小时前
MySQL 8组复制完全指南
linux·运维·服务器·数据库·mysql