mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Plugins jstat__*: add format examples
This commit is contained in:
parent
67f9783780
commit
0ddc7e2fec
3 changed files with 9 additions and 0 deletions
|
@ -93,6 +93,9 @@ print_stats() {
|
||||||
# shellcheck disable=SC2016
|
# shellcheck disable=SC2016
|
||||||
awk_script='{ YGC = $11; FGC = $13; print "Young_GC.value " YGC; print "Full_GC.value " FGC; }'
|
awk_script='{ YGC = $11; FGC = $13; print "Young_GC.value " YGC; print "Full_GC.value " FGC; }'
|
||||||
else
|
else
|
||||||
|
# example output of jstat for Java 1.8:
|
||||||
|
# S0C S1C S0U S1U EC EU OC OU MC MU CCSC CCSU YGC YGCT FGC FGCT GCT
|
||||||
|
# 2048.0 2048.0 0.0 1344.0 694784.0 145013.5 1398272.0 414857.1 102400.0 96308.0 12544.0 11240.1 979 20.997 5 2.705 23.702
|
||||||
# shellcheck disable=SC2016
|
# shellcheck disable=SC2016
|
||||||
awk_script='{ YGC = $13; FGC = $15; print "Young_GC.value " YGC; print "Full_GC.value " FGC; }'
|
awk_script='{ YGC = $13; FGC = $15; print "Young_GC.value " YGC; print "Full_GC.value " FGC; }'
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -109,6 +109,9 @@ print_stats() {
|
||||||
print "Young_GC.value " YGCT;
|
print "Young_GC.value " YGCT;
|
||||||
print "Full_GC.value " FGCT; }'
|
print "Full_GC.value " FGCT; }'
|
||||||
else
|
else
|
||||||
|
# example output of jstat for Java 1.8:
|
||||||
|
# S0C S1C S0U S1U EC EU OC OU MC MU CCSC CCSU YGC YGCT FGC FGCT GCT
|
||||||
|
# 2048.0 2048.0 0.0 1344.0 694784.0 145013.5 1398272.0 414857.1 102400.0 96308.0 12544.0 11240.1 979 20.997 5 2.705 23.702
|
||||||
# shellcheck disable=SC2016
|
# shellcheck disable=SC2016
|
||||||
awk_script='{
|
awk_script='{
|
||||||
YGCT = $14;
|
YGCT = $14;
|
||||||
|
|
|
@ -143,6 +143,9 @@ print_stats() {
|
||||||
print "Permanent_Used.value " PU * 1024;
|
print "Permanent_Used.value " PU * 1024;
|
||||||
print "Permanent_Free.value " PF * 1024; }'
|
print "Permanent_Free.value " PF * 1024; }'
|
||||||
else
|
else
|
||||||
|
# example output of jstat for Java 1.8:
|
||||||
|
# S0C S1C S0U S1U EC EU OC OU MC MU CCSC CCSU YGC YGCT FGC FGCT GCT
|
||||||
|
# 2048.0 2048.0 0.0 1344.0 694784.0 145013.5 1398272.0 414857.1 102400.0 96308.0 12544.0 11240.1 979 20.997 5 2.705 23.702
|
||||||
# shellcheck disable=SC2016
|
# shellcheck disable=SC2016
|
||||||
awk_script='{
|
awk_script='{
|
||||||
S0C = $1;
|
S0C = $1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue