aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Niedbalski <jnr@metaklass.org>2019-11-20 09:19:38 -0800
committerBryan Quigley <bryan.quigley@canonical.com>2019-12-07 16:23:36 -0800
commit72562ef482816950e774c3aa5ab803e3b863f524 (patch)
tree3dde5760fd6074b9dc0f0375934159a4e192f336
parenta0e0a522a84ea6fe3e693e5ba8da7f086b9e1cc5 (diff)
downloadsos-72562ef482816950e774c3aa5ab803e3b863f524.tar.gz
[numa] Add node hugepages information
Add the sysfs hugepages information for each numa node. Resolves: #1868 Signed-off-by: Jorge Niedbalski <jorge.niedbalski@canonical.com> Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com>
-rw-r--r--sos/plugins/numa.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/numa.py b/sos/plugins/numa.py
index 67b7fcd2..bdef65dd 100644
--- a/sos/plugins/numa.py
+++ b/sos/plugins/numa.py
@@ -39,7 +39,8 @@ class Numa(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_copy_spec([
os.path.join(numa_path, "node*/meminfo"),
os.path.join(numa_path, "node*/cpulist"),
- os.path.join(numa_path, "node*/distance")
+ os.path.join(numa_path, "node*/distance"),
+ os.path.join(numa_path, "node*/hugepages/hugepages-*/*")
])
# vim: set et ts=4 sw=4 :