I just wanted to know my server spec.

so I tried lshw -c network and cat /sys/class/net/eth0/speed

But lshw shows capacity 1Gbit/s and cat /sys/class/net/eth0/speed shows 10000.

What is more correct?

My ethernet card is 'NetXtreme BCM5719 Gigabit Ethernet PCIe'

  • And what does sudo ethtool eth0 report? – muru Nov 6 '17 at 4:44
  • @muru ethtool shows 10000, it stands to reason that ethtool read /sys/class/net/eth0/speed – Hans Lee Nov 6 '17 at 4:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.