How to find out capacity for network interfaces?
Solution 1:
You're looking in the wrong place.
Look at /sys/class/net/<device>/speed
.
Solution 2:
You can check the interface capacity in following ways.
dmesg | grep eth0
mii-tool -v eth0
ethtool eth0
Note: Change the device name according to yours.
Solution 3:
In general, you could find this out using a tool such as strace:
sudo strace -e trace=file -f -s128 lshw -class network