On Fri, 11 Jul 2025 08:51:19 -0700 Breno Leitao wrote:
json=True please and you'll get a dict, on CLI you can try:
ethtool --json -g eth0
Sure. I was parsing manually because some options do not have --json format.
ethtool --json -l eth0 ethtool: bad command line argument(s)
I haven't checked upstream, but, if this feature is upstream, is it worth implementing it?
I added it relatively recently. Looks like it's already here on my Fedora laptop, but not in the CI system! Let me update it there, and you can assume --json -l to work in the test..