aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Čajka <jcajka@redhat.com>2015-06-16 11:31:04 +0200
committerBryn M. Reeves <bmr@redhat.com>2018-03-13 11:29:59 +0000
commit3f31c4c2c5d241081ab2bbe458543277bc1aea68 (patch)
tree54c594f165fa38d91082c0634d9c447939938e17
parent6a23a57596e94ea3e4f4f19513c8b691af9c53ff (diff)
downloadsos-3f31c4c2c5d241081ab2bbe458543277bc1aea68.tar.gz
[iprconfig] collect more information
Signed-off-by: Jakub Čajka <jcajka@redhat.com>
-rw-r--r--sos/plugins/iprconfig.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/sos/plugins/iprconfig.py b/sos/plugins/iprconfig.py
index 2ff6d967..b20f3f29 100644
--- a/sos/plugins/iprconfig.py
+++ b/sos/plugins/iprconfig.py
@@ -37,6 +37,10 @@ class IprConfig(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
"iprconfig -c show-arrays",
"iprconfig -c show-jbod-disks",
"iprconfig -c show-ioas",
+ "iprconfig -c show-hot-spares",
+ "iprconfig -c show-af-disks",
+ "iprconfig -c show-all-af-disks",
+ "iprconfig -c show-slots",
])
show_ioas = self.call_ext_prog("iprconfig -c show-ioas")
@@ -54,6 +58,9 @@ class IprConfig(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
for device in devices:
self.add_cmd_output("iprconfig -c show-details %s" % (device,))
+ self.add_cmd_output("iprconfig -c show-battery-info %s" % (
+ device,))
+ self.add_cmd_output("iprconfig -c show-perf %s" % (device,))
# Look for IBM Power RAID enclosures (iprconfig lists them)
show_config = self.call_ext_prog("iprconfig -c show-config")