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

小结

相关推荐
吹什么轩几秒前
linux网络:UDP原理
linux·网络·udp
张洛闻Eren5 分钟前
云原生k8s【第八课】: ETCD 备份与恢复
linux·运维·docker·kubernetes·k8s
新时代牛马16 分钟前
Linux 守护进程与服务完整篇:从daemonize、systemd 到pidfile 与排障
linux·运维·服务器
徐小黑ACG10 小时前
nginx配置文件
linux·服务器·nginx
新时代牛马10 小时前
Linux VFS 完整篇:从path_openat、dentry/inode 到page cache 与挂载排障
linux·运维·服务器
java_logo10 小时前
Docker 部署 Rocky Linux:轻松搭建 RHEL 兼容企业级基础镜像平台
linux·docker·容器·rocky linux·基础镜像·轩辕镜像·rhel 兼容
拂拉氏10 小时前
【知识讲解】 Linux虚拟地址空间认识
linux·虚拟地址空间
cloudfantasy12 小时前
docker直接二进制安装,非编译。KylinV10SP3 aarch64有效
运维·docker
新时代牛马12 小时前
Linux 驱动中断与定时完整篇:从 request_threaded_irq 到hrtimer 选型与排障
linux·运维·服务器
考虑考虑13 小时前
nginx打印请求日志
运维·后端·nginx