Plugins jstat__*: add format examples

This commit is contained in:
Lars Kruse 2018-07-04 20:29:52 +02:00
parent 67f9783780
commit 0ddc7e2fec
3 changed files with 9 additions and 0 deletions

View File

@ -93,6 +93,9 @@ print_stats() {
# shellcheck disable=SC2016
awk_script='{ YGC = $11; FGC = $13; print "Young_GC.value " YGC; print "Full_GC.value " FGC; }'
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
awk_script='{ YGC = $13; FGC = $15; print "Young_GC.value " YGC; print "Full_GC.value " FGC; }'
fi

View File

@ -109,6 +109,9 @@ print_stats() {
print "Young_GC.value " YGCT;
print "Full_GC.value " FGCT; }'
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
awk_script='{
YGCT = $14;

View File

@ -143,6 +143,9 @@ print_stats() {
print "Permanent_Used.value " PU * 1024;
print "Permanent_Free.value " PF * 1024; }'
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
awk_script='{
S0C = $1;