diff options
author | Mamatha Inamdar <mamatha4@linux.vnet.ibm.com> | 2020-05-20 14:07:13 +0530 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2020-06-03 11:19:39 -0400 |
commit | f7292b0121408a77d9e5ee94a046025c256cd021 (patch) | |
tree | 46803a17adb67093272985f104764b14c0caab6d | |
parent | 2826d4ad19afaa91e2e25970eafe9353d844bfac (diff) | |
download | sos-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.py | 3 |
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([ |