From: Robert Urban <urban@unix-beratung•de>
To: bwh@kernel•org, netdev@vger•kernel.org
Subject: parsing the output of ethtool programmatically
Date: Thu, 25 Jun 2015 03:28:23 +0200 [thread overview]
Message-ID: <558B5937.4080600@unix-beratung.de> (raw)
Hello,
there doesn't seem to be any flag to request ethtool to present its output in a
script-friendly form. Things like:
> Link partner advertised link modes: 10baseT/Half 10baseT/Full
> 100baseT/Half 100baseT/Full
> 1000baseT/Full
are kind of pain to parse.
Something to consider?
Robert Urban
next reply other threads:[~2015-06-25 1:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-25 1:28 Robert Urban [this message]
2015-09-05 9:53 ` parsing the output of ethtool programmatically Ben Hutchings
2015-09-08 2:52 ` roopa
2017-10-26 0:21 ` Robert Urban
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=558B5937.4080600@unix-beratung.de \
--to=urban@unix-beratung$(echo .)de \
--cc=bwh@kernel$(echo .)org \
--cc=netdev@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox