aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/sos/plugins/memory.py3
-rw-r--r--src/lib/sos/plugins/pam.py2
-rw-r--r--src/lib/sos/plugins/xen.py6
3 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/sos/plugins/memory.py b/src/lib/sos/plugins/memory.py
index 688b7011..fa943a3c 100644
--- a/src/lib/sos/plugins/memory.py
+++ b/src/lib/sos/plugins/memory.py
@@ -20,8 +20,11 @@ class memory(sos.plugintools.PluginBase):
def setup(self):
self.addCopySpec("/proc/pci")
self.addCopySpec("/proc/meminfo")
+ self.addCopySpec("/proc/vmstat")
+ self.addCopySpec("/proc/slabinfo")
self.collectExtOutput("/bin/dmesg | grep -e 'e820.' -e 'aperature.'")
self.collectExtOutput("/usr/bin/free")
+ self.collectExtOutput("/usr/bin/free -m")
return
diff --git a/src/lib/sos/plugins/pam.py b/src/lib/sos/plugins/pam.py
index 364e81af..ee95b5a8 100644
--- a/src/lib/sos/plugins/pam.py
+++ b/src/lib/sos/plugins/pam.py
@@ -19,5 +19,7 @@ class pam(sos.plugintools.PluginBase):
"""
def setup(self):
self.addCopySpec("/etc/pam.d")
+ self.addCopySpec("/etc/security")
+ self.collectExtOutput("/bin/ls -laF /lib/security/pam_*so")
return
diff --git a/src/lib/sos/plugins/xen.py b/src/lib/sos/plugins/xen.py
index cf0d7156..d29aa17b 100644
--- a/src/lib/sos/plugins/xen.py
+++ b/src/lib/sos/plugins/xen.py
@@ -36,12 +36,18 @@ class xen(sos.plugintools.PluginBase):
self.addCopySpec("/proc/xen/capabilities")
self.addCopySpec("/proc/xen/xsd_kva")
self.addCopySpec("/proc/xen/xsd_port")
+ # determine if CPU has PAE support
+ self.collectExtOutput("/bin/grep pae /proc/cpuinfo")
+ # determine if CPU has Intel-VT or AMD-V support
+ self.collectExtOutput("/bin/egrep -e 'vmx|svm' /proc/cpuinfo")
def setup(self):
host_type = self.determineXenHost()
if host_type == "domU":
# we should collect /proc/xen and /sys/hypervisor
self.domCollectProc()
+ # determine if hardware virtualization support is enabled
+ # in BIOS: /sys/hypervisor/properties/capabilities
self.addCopySpec("/sys/hypervisor")
elif host_type == "hvm":
# what do we collect here???