aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Talbert <ptalbert@redhat.com>2018-12-06 13:14:38 +0100
committerBryn M. Reeves <bmr@redhat.com>2019-03-19 17:59:59 +0000
commit8b989aebc9c152430fc57f918a8e90210a792a9f (patch)
tree61493f458376a5c4a0799497c25c4227b9540d06
parentbd4cf0970bba85ed434d043be8167db8d7424d89 (diff)
downloadsos-8b989aebc9c152430fc57f918a8e90210a792a9f.tar.gz
[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 <ptalbert@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/networking.py8
1 files changed, 7 insertions, 1 deletions
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