Is there a command that I can verify by its output the speed of my NIC and some information about its characteristics such as duplex full or half .
Is there a command that I can verify by its output the speed of my NIC and some information about its characteristics such as duplex full or half .
Suppose your NIC name
eth0
:You can verify the speed and some informations by three Commands :
First Command :
Output :
Second Command :
Output :
FD : full duplex , Logic that enables concurrent sending and receiving. This is usually desirable and enabled when your computer is connected to a switch.
HD : half duplex , his logic requires a card to only send or receive at a single point of time. When your machine is connected to a Hub, it auto-negotiates itself and uses half duplex to avoid collisions.
Third command :
Install ethtool :
Output :
Hope it helps .
To obtain the link speed of an interface without parsing logs or installing additional tools, simply read its corresponding speed sysfs node, as follows:
where is the name of your NIC, e.g. eth0
You can use NetSpeed Extension
NetSpeed is a GNOME shell extension that displays the sum of your download and upload speed in your gnome panel. Clicking on it displays the separate values in a drop-down.
You can download it from Ubuntu Software Store.
It is applicable only if you use the GNOME desktop environment.
Reference: https://itsfoss.com/network-speed-monitor-linux/