aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis Bouchard <louis.bouchard@canonical.com>2015-10-06 11:40:34 +0200
committerBryn M. Reeves <bmr@redhat.com>2015-10-15 12:09:48 +0100
commitb2764e31de068292d1d87fc60d0f6b8510963fb7 (patch)
tree01f45757009a2ae83bbc44604562228dc4b99e84
parent06f3375a0f42e1d9194edcac0a770459480a84b6 (diff)
downloadsos-b2764e31de068292d1d87fc60d0f6b8510963fb7.tar.gz
[kernel] Add collection of /sys/kernel/slabs
Needed when investigating slab related issue to identify how slabs are merged together. ls -lt shows symlink of merged slabs. Closes: #653, #654. Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
-rw-r--r--sos/plugins/kernel.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/kernel.py b/sos/plugins/kernel.py
index 791be9ca..833f4bfb 100644
--- a/sos/plugins/kernel.py
+++ b/sos/plugins/kernel.py
@@ -30,6 +30,7 @@ class Kernel(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
# compat
self.add_cmd_output("uname -a", root_symlink="uname")
self.add_cmd_output("lsmod", root_symlink="lsmod")
+ self.add_cmd_output("ls -lt /sys/kernel/slab")
try:
modules = os.listdir(self.sys_module)