Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: add ethernet link speed #2891

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

piotro888
Copy link

Resolves #2636
Link speed in read from /sys/net/<device>/speed, works only for Ethernet interfaces.
Includes additional option for pow_format to skip decimal place, so 1000 will be printed as 1Gb/s, instead of 1.0Gb/s, but 2500 always as 2.5Gb/s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to show the Link Speed of a wired network connection
1 participant