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

小结

相关推荐
vvilkim3 小时前
Java主流框架全解析:从企业级开发到云原生
java·运维·云原生
Wy_编程7 小时前
Linux-文本搜索工具grep
linux·运维·服务器
qq998997 小时前
AAA服务器技术
运维·服务器
xujiangyan_7 小时前
linux的sysctl系统以及systemd系统。
linux·服务器·网络
Lovyk7 小时前
Linux Shell 常用操作与脚本示例详解
linux·运维·服务器
iCan_qi8 小时前
【Mac】【Minecraft】关于如何在Mac上搭建基岩版MC服务器的方法
运维·服务器·macos·minecraft
ezreal_pan9 小时前
Kubernetes 负载均衡现象解析:为何同一批次请求集中于单个 Pod
运维·云原生·k8s·traefik
朱皮皮呀10 小时前
Spring Cloud——服务注册与服务发现原理与实现
运维·spring cloud·eureka·服务发现·php
yuanpan11 小时前
ubuntu系统上的conda虚拟环境导出方便下次安装
linux·ubuntu·conda
云边云科技11 小时前
零售行业新店网络零接触部署场景下,如何选择SDWAN
运维·服务器·网络·人工智能·安全·边缘计算·零售