[sos-devel] [PATCH] plugins/powerpc: Capture the opal-prd log file
Ananth N Mavinakayanahalli
ananth at linux.vnet.ibm.com
Tue Apr 17 06:08:04 UTC 2018
Opal-prd is the Processor Runtime Diagnostics daemon on Power systems
running OPAL firmware. Capture this log file with sosreport.
Signed-off-by: Ananth N Mavinakayanahalli <ananth at linux.vnet.ibm.com>
---
sos/plugins/powerpc.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py
index abf4759c..6c685a84 100644
--- a/sos/plugins/powerpc.py
+++ b/sos/plugins/powerpc.py
@@ -83,7 +83,8 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
"/proc/ppc64/systemcfg",
"/proc/ppc64/topology_updates",
"/sys/firmware/opal/msglog",
- "/var/log/opal-elog/"
+ "/var/log/opal-elog/",
+ "/var/log/opal-prd.log"
])
if os.path.isdir("/var/log/dump"):
self.add_cmd_output("ls -l /var/log/dump")
More information about the sos-devel
mailing list