When checking and maintaining the system, we often need to check the size of the server's network port, so we need to use a Linux command.
How to check the network bandwidth outlet of CentOS? You can use the following command to view it.
# ethtool eth0
is preceded by the command, followed by the device name. If the externally connected network device is eth1, it needs to be changed to: ethtool eth0
[root@localhost ~]# ethtool eth0
Settings for eth0:
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: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
Drv probe link
Link detected: yesThe above is the detailed content of How to check the CentOS network egress bandwidth. For more information, please follow other related articles on the PHP Chinese website!