From: Robert Urban <urban@unix-beratung.de>
To: bwh@kernel.org, netdev@vger.kernel.org
Subject: parsing ethtool output in programs/scripts
Date: Wed, 2 Sep 2015 02:22:18 +0200 [thread overview]
Message-ID: <55E6413A.2060809@unix-beratung.de> (raw)
Hello,
I wish you would consider adding a switch to ethtool (and the corresponding
functionality) to produce output in machine-readable format.
This would be *extremely* useful.
Why not add the "--machine-readable" switch mentioned here:
http://www.hezmatt.org/~mpalmer/blog/2011/12/17/rethtool-how-i-learned-to-stop-worrying-and-love-the-ioctl.html
and another page which talks about the difficulty of parsing ethtool's output:
http://pjrlost.blogspot.de/2011/11/linuxunix-and-new-output-pipe-stdobj.html
cheers,
Robert Urban
next reply other threads:[~2015-09-02 0:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-02 0:22 Robert Urban [this message]
2015-09-02 0:33 ` parsing ethtool output in programs/scripts Stephen Hemminger
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=55E6413A.2060809@unix-beratung.de \
--to=urban@unix-beratung.de \
--cc=bwh@kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).