parsing ethtool output in programs/scripts
Subsystems (2)
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:
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
Quoted 8 lines · On Wed, 2 Sep 2015 02:22:18 +0200 Robert Urban <[email protected]> wrote:
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:
Why not use json and --json flag like iproute2 tools are getting (gradually).