You can check the current network port speed and duplex mode on your VPS or Dedicated Server by using SSH. This is useful for troubleshooting network performance or verifying your server’s connection speed.
π Steps:
- Connect to your server via SSH: Use a terminal or SSH client (e.g., PuTTY) to log in as root or a user with sudo privileges.
- Run the following command: Replace
eth1
with your actual network interface (e.g.,eth0
,ens18
, etc.) if needed:ethtool eth1 | egrep "Speed|Duplex"
- Example output:
Speed: 100Mb/s Duplex: Full
Speed
shows the negotiated port speed (e.g., 100Mb/s, 1Gb/s, etc.).Duplex
indicates whether the connection is full-duplex or half-duplex.
β
Tip:
If youβre unsure of your network interface name, list all interfaces with:
ip link show
Then pick the one connected to your network.