aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2015-01-28 18:50:30 +0000
committerBryn M. Reeves <bmr@redhat.com>2015-01-28 18:53:44 +0000
commit2d79161120ba1101dfacff463a4049ab8664bd80 (patch)
tree96baeb4fca722a766538fc25216f62603ee470e8
parent3a2ad99c71dae022cfb7fb02e11473001c50ae23 (diff)
downloadsos-2d79161120ba1101dfacff463a4049ab8664bd80.tar.gz
[networking] add ethtool -d
Add 'ethtool -d <dev>' to the networking plugin. This retrieves and prints a register dump for the specified network device. This may be required to debug some low-level network interface problems (e.g. embedded card configuration values) that would otherwise require the use of proprietary diagnostic tools. Signed-off-by: Sheng Liu <shenglsh@linux.vnet.ibm.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/networking.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py
index c46a685c..8dfc0e6b 100644
--- a/sos/plugins/networking.py
+++ b/sos/plugins/networking.py
@@ -117,6 +117,7 @@ class Networking(Plugin):
for eth in self.get_eth_interfaces(ip_link_result['output']):
self.add_cmd_output([
"ethtool "+eth,
+ "ethtool -d "+eth,
"ethtool -i "+eth,
"ethtool -k "+eth,
"ethtool -S "+eth,