Linux 如何查看网络带宽是千兆还是万兆 |
您所在的位置:网站首页 › lx和lr分别是万兆还是千兆 › Linux 如何查看网络带宽是千兆还是万兆 |
1、首先查看机器网络端口 [root@namenode ~]# ifconfig eno1: flags=4163 mtu 1500 inet 192.168.60.190 netmask 255.255.255.0 broadcast 192.168.80.255 inet6 fe80::b62e:99ff:fe65:3bd6 prefixlen 64 scopeid 0x20 ether b4:2e:99:65:3b:d6 txqueuelen 1000 (Ethernet) RX packets 1034361639 bytes 496433512301 (462.3 GiB) RX errors 0 dropped 144034 overruns 0 frame 0 TX packets 977985340 bytes 163296216477 (152.0 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 16 memory 0xf7200000-f7220000 2、查看端口带宽(root或sudo权限),通过下面输出可以看到speed那一行,表示千兆网。 [root@namenode ~]# sudo 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 Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Speed: 1000Mb/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 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |