How to get customized output from jstat
?
Create folder .jvmstat
in home folder and a file called jstat_options
in it.
Paste next content in ~/.jvmstat/jstat_options
file:
option customgc {
column {
header "^Timestamp(s)^"
data (sun.os.hrt.ticks/sun.os.hrt.frequency)