aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/memory.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/sos/plugins/memory.py b/sos/plugins/memory.py
index 0f20e997..1b27ebab 100644
--- a/sos/plugins/memory.py
+++ b/sos/plugins/memory.py
@@ -27,9 +27,16 @@ class Memory(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"/proc/pci",
"/proc/meminfo",
"/proc/vmstat",
+ "/proc/swaps",
"/proc/slabinfo",
- "/proc/pagetypeinfo"])
+ "/proc/pagetypeinfo",
+ "/proc/vmallocinfo",
+ "/sys/kernel/mm/ksm"
+ ])
self.add_cmd_output("free", root_symlink="free")
- self.add_cmd_output("free -m")
+ self.add_cmd_output([
+ "free -m",
+ "swapon --show"
+ ])
# vim: et ts=4 sw=4