aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMamatha Inamdar <mamatha4@linux.vnet.ibm.com>2020-05-20 14:07:13 +0530
committerJake Hunsaker <jhunsake@redhat.com>2020-06-03 11:19:39 -0400
commitf7292b0121408a77d9e5ee94a046025c256cd021 (patch)
tree46803a17adb67093272985f104764b14c0caab6d
parent2826d4ad19afaa91e2e25970eafe9353d844bfac (diff)
downloadsos-f7292b0121408a77d9e5ee94a046025c256cd021.tar.gz
[memory]:Add support to collect memory logs
This patch updates memory plugin to collect hugepage memory information Resolves: #2078 Signed-off-by: Mamatha Inamdar <mamatha4@linux.vnet.ibm.com> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/report/plugins/memory.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/report/plugins/memory.py b/sos/report/plugins/memory.py
index aefb27b8..b358e44d 100644
--- a/sos/report/plugins/memory.py
+++ b/sos/report/plugins/memory.py
@@ -27,7 +27,8 @@ class Memory(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin, CosPlugin):
"/proc/pagetypeinfo",
"/proc/vmallocinfo",
"/sys/kernel/mm/ksm",
- "/sys/kernel/mm/transparent_hugepage/enabled"
+ "/sys/kernel/mm/transparent_hugepage/enabled",
+ "/sys/kernel/mm/hugepages"
])
self.add_cmd_output("free", root_symlink="free")
self.add_cmd_output([