I am trying to fetch the JVM GC stats using 'jstat' gcutil command.
jstat -gcutil -t 32351
This is returning me a single sample from current time.
I also understand using $ jstat -gcutil -t 32351 1s 5 will return me 5 samples with 1s interval from current time.
I want to be able to get the GC stats for last 5 minutes. or within a specific time range. I tried browsing online and could not figure it out. Can anyone please guide me on this ?