Best tool for collecting Java process statistics and JMAP explanations

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>
+3
source share
2 answers

, Java API. , , . , ...

~

+1
0

Source: https://habr.com/ru/post/1728895/


All Articles