View the network bandwidth egress of CentOS
Check the network port size of the server when maintaining the system. Therefore, a Linux Command is required.
How can I check the network bandwidth egress of CentOS? You can use the following command to view details.
# Ethtool eth0
The preceding command is followed by the device name. If the external network device is eth1, you need to change it to ethtool eth0.
[Root @ localhost ~] # Ethtool eth0
Settings for eth0:
Supported ports: [TP]
Supported link modes: 10 baseT/Half 10 baseT/Full
100 baseT/Half 100 baseT/Full
1000 baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10 baseT/Half 10 baseT/Full
100 baseT/Half 100 baseT/Full
1000 baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 1000 Mb/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: yes