What is the preferred and cross-platform (Ubuntu, Redhat) way to get supported interface link speed?
i am familiar with ethtool, but i would like an option not to use an external tool, but only python.
There's actually a python module providing bindings for the ethtool kernel interface. This sound like what you're looking for. See https://github.com/fedora-python/python-ethtool for details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With