mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Readd Anonymoust Hugepages (aka. Transparent Hugepages) to system/hugepage plugin.
This commit is contained in:
parent
7f94d4d68e
commit
5d77895555
@ -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)"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user