aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/cluster.py2
-rw-r--r--sos/plugins/powerpc.py12
-rw-r--r--sos/plugins/yum.py2
3 files changed, 10 insertions, 6 deletions
diff --git a/sos/plugins/cluster.py b/sos/plugins/cluster.py
index 8d73dc1d..79574988 100644
--- a/sos/plugins/cluster.py
+++ b/sos/plugins/cluster.py
@@ -97,7 +97,7 @@ class Cluster(Plugin, RedHatPlugin):
"crm_from parameter '%s' is not a valid date: using default"
% self.get_option('crm_from'))
- crm_dest = os.path.join(self.get_cmd_dir(), 'crm_report')
+ crm_dest = os.path.join(self.get_cmd_path(), 'crm_report')
self.add_cmd_output('crm_report -S -d --dest %s --from "%s"'
% (crm_dest, crm_from))
diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py
index dfaacb9b..96810944 100644
--- a/sos/plugins/powerpc.py
+++ b/sos/plugins/powerpc.py
@@ -52,14 +52,15 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
self.add_cmd_output("ppc64_cpu --run-mode")
self.add_cmd_output("ppc64_cpu --frequency")
self.add_cmd_output("ppc64_cpu --dscr")
+ self.add_cmd_output("lscfg -vp")
+ self.add_cmd_output("lsmcode -A")
+ self.add_cmd_output("lsvpd --debug")
+ self.add_copy_spec("/var/lib/lsvpd/")
if ispSeries:
self.add_copy_spec("/proc/ppc64/lparcfg")
self.add_copy_spec("/proc/ppc64/eeh")
self.add_copy_spec("/proc/ppc64/systemcfg")
- self.add_cmd_output("lscfg -vp")
- self.add_cmd_output("lsmcode -A")
- self.add_cmd_output("lsvpd --debug")
self.add_cmd_output("lsvio -des")
self.add_cmd_output("servicelog --dump")
self.add_cmd_output("servicelog_notify --list")
@@ -71,4 +72,7 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
if isPowerNV:
self.add_copy_spec("/proc/ppc64/")
-
+ self.add_copy_spec("/sys/kernel/debug/powerpc/")
+ if os.path.isdir("/var/log/dump"):
+ self.add_cmd_output("ls -l /var/log/dump")
+
diff --git a/sos/plugins/yum.py b/sos/plugins/yum.py
index 81788f17..aa8cb186 100644
--- a/sos/plugins/yum.py
+++ b/sos/plugins/yum.py
@@ -49,7 +49,7 @@ class Yum(Plugin, RedHatPlugin):
self.add_cmd_output("subscription-manager list --installed")
self.add_cmd_output("subscription-manager list --consumed")
self.add_cmd_output("rhsm-debug system --no-archive --destination %s"
- % self.get_cmd_dir())
+ % self.get_cmd_path())
if self.get_option("yumlist"):
# List various information about available packages