diff --git a/plugins/system/hugepages b/plugins/system/hugepages index 51f6a6af..78eca8f5 100755 --- a/plugins/system/hugepages +++ b/plugins/system/hugepages @@ -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)" } }