I am going to collect more detailed java statistics (in text format), i.e. statistics that the jstat command generates - for example, garbage collection data, etc. Can anyone suggest me a better tool for collecting statistics on a java process, for example jmap.
EDIT
Google gives me advice on using jmapwith a parameter -histo:live, but I can't figure out what information it actually provides. The command I use
jmap -histo:live $PID
Output:
num #instances #bytes class name
----------------------------------------------
1: 13767 1453320 <constMethodKlass>
2: 13767 1105416 <methodKlass>
Space source
share