lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 05 Sep 2015 10:53:14 +0100
From:	Ben Hutchings <ben@...adent.org.uk>
To:	Robert Urban <urban@...x-beratung.de>, bwh@...nel.org,
	netdev@...r.kernel.org
Subject: Re: parsing the output of ethtool programmatically

On Thu, 2015-06-25 at 03:28 +0200, Robert Urban wrote:
> 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?

Or write a library for using SIOCETHTOOL.  The interface is fairly well
documented now and there are other users besides the ethtool utility.

Ben.

-- 
Ben Hutchings
friends: People who know you well, but like you anyway.


Download attachment "signature.asc" of type "application/pgp-signature" (812 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ