Bootstrap

Linux系统查看网卡带宽及网络使用情况_linux查看网卡速率和带宽(1)

2.ethtool命令查看宽带大小
ethtool 网卡名称

[root@222 ~]# ethtool eno1
Settings for eno1:
	Supported ports: [ TP ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Advertised pause frame use: No
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Speed: 100Mb/s
	Duplex: Full
	Port: Twisted Pair
	PHYAD: 1
	Transceiver: internal
	Auto-negotiation: on
	MDI-X: off (auto)
	Supports Wake-on: pumbg
	Wake-on: g
	Current message level: 0x00000007 (7)
			       drv probe link
	Link detected: yes

Speed: 100Mb/s 带宽为白兆

 
###   三、nload命令实时统计网卡带宽使用率

 
没有nload命令的需要下载;

 

yum -y install nload

#等待下载完

#直接使用命令查看
nload

 

在这里插入图片描述

#指定网卡进入
nload eno1

在这里插入图片描述

Incoming是进入网卡的流量,Outgoing是从这块网卡出去的流量,每一部分都有下面几个。

Curr:当前流量
Avg:平均流量
Min:最小流量
Max:最大流量
Ttl:总流量

四、dstat -n命令实时监测网络的状态

dstat -n

在这里插入图片描述

总结

相关文章

💻【Linux】之【CPU】相关的命令及解析[lscpu、mpstat]


💻【Linux】之【内存】相关的命令&&解析以及内存相关的问题[free、meminfo、内存泄漏、内存溢出、Overcommit]


💻【Linux】之【磁盘】相关的命令及解析[df、du、iostat、iotop]


💻【Linux】之【网络】相关的命令及解析[ethtool、nload、nethogs、iftop、iptraf、ifstat]


💻【Linux】综合性命令及解析【top、htop、vmstat、dstat、glances、sar】


💻【Linux】系统如何查看服务器带宽及网络使用情况


网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。

需要这份系统化的资料的朋友,可以点击这里获取!

一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!

;