1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-24 18:07:20 +00:00

Merge pull request #642 from Foxlik/transparent-hugepages

Readd Anonymous Hugepages to system/hugepage
This commit is contained in:
Steve Schnepp 2016-10-08 13:48:28 +02:00 committed by GitHub
commit ad581ffdae

View file

@ -42,7 +42,7 @@ BEGIN {
print "graph_title HugePages usage"
print "graph_category system"
print "graph_info This graph shows the usage of the kernel Huge Pages."
print "graph_order Total Rsvd Free Surp"
print "graph_order Total Rsvd Free Surp Anon"
print "Total.label total"
print "Total.draw AREA"
print "Total.info Size of pool of hugepages ('nr_hugepages')"
@ -55,6 +55,9 @@ BEGIN {
print "Surp.label surplus"
print "Surp.draw STACK"
print "Surp.info Number of hugepages > nr_hugepages, as decided by nr_overcommit_hugepages or when the amount of Huge Pages is reduced while they are in use."
print "Anon.label Transparent"
print "Anon.draw STACK"
print "Anon.info Huge Pages that are in use by the transparent Huge Page allocator khugepaged."
CONF=1
}
if (ARGC > 1 && ARGV[1] == "autoconf") {
@ -69,6 +72,7 @@ BEGIN {
CONF == 1 {
if (/Hugepagesize/) {
print "Anon.cdef Anon,",$2,",/"
print "graph_vlabel Pages (",$2,"KB/page)"
}
}