From 8b989aebc9c152430fc57f918a8e90210a792a9f Mon Sep 17 00:00:00 2001 From: Patrick Talbert Date: Thu, 6 Dec 2018 13:14:38 +0100 Subject: [networking] Extend ethtool command set Update the list of ethtool commands to include: ethtool -e (EEPROM dump) ethtool -P (permanent MAC address) ethtool -l (channel/queue settings) ethtool --phy-statistics ethtool --show-priv-flags ethtool --show-eee All of the above are helpful in understanding the state of modern NICs. And -P is nice to have as otherwise there is no reliable way to see the permanent MAC of team ports. Resolves: #1503 Signed-off-by: Patrick Talbert Signed-off-by: Bryn M. Reeves --- sos/plugins/networking.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py index 6a03e375..aef9d195 100644 --- a/sos/plugins/networking.py +++ b/sos/plugins/networking.py @@ -171,7 +171,13 @@ class Networking(Plugin): "ethtool -T " + eth, "ethtool -a " + eth, "ethtool -c " + eth, - "ethtool -g " + eth + "ethtool -g " + eth, + "ethtool -e " + eth, + "ethtool -P " + eth, + "ethtool -l " + eth, + "ethtool --phy-statistics " + eth, + "ethtool --show-priv-flags " + eth, + "ethtool --show-eee " + eth ]) # Collect information about bridges (some data already collected via -- cgit