diff options
author | Sourabh Jain <sourabhjain@linux.ibm.com> | 2018-10-04 11:14:09 +0530 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-10-09 14:39:01 +0100 |
commit | 848b110f83697814c72ac93b36e786ff9dafc0fc (patch) | |
tree | b88783f6ae1e6bbc3376530c0ab31af5425cec3f | |
parent | d6379b5ba0f381ea8ec2403b9985100a946a5866 (diff) | |
download | sos-848b110f83697814c72ac93b36e786ff9dafc0fc.tar.gz |
[powerpc] Add support to collect DLPAR and LPM related logs
This patch updates powerpc plugin to collect
Dynamic Resource Manager (drmgr) log files
i.e. /var/log/drmgr and /var/log/drmgr.0.
In addition, it also adds ctsanp command to collect the information
about the Reliable Scalable Cluster Technology (RSCT) components.
Resolves: #1443
Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/powerpc.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py index 94137568..8a859990 100644 --- a/sos/plugins/powerpc.py +++ b/sos/plugins/powerpc.py @@ -59,8 +59,11 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): "/proc/ppc64/lparcfg", "/proc/ppc64/eeh", "/proc/ppc64/systemcfg", - "/var/log/platform" + "/var/log/platform", + "/var/log/drmgr", + "/var/log/drmgr.0" ]) + ctsnap_path = self.get_cmd_output_path(name="ctsnap", make=True) self.add_cmd_output([ "servicelog --dump", "servicelog_notify --list", @@ -68,7 +71,8 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): "usysident", "serv_config -l", "bootlist -m both -r", - "lparstat -i" + "lparstat -i", + "ctsnap -xrunrpttr -d %s" % (ctsnap_path) ]) if isPowerNV: |