开发者

Best Tool to collect Java process statistics and Explanation of JMAP

I am looking at collecting more detailed开发者_开发问答 java statistics (in plain text format) i.e. statistics that the jstat command emits - like garbage collection data etc. Can anyone please suggest me the best tool to collect the java process statistics like jmap.

EDIT

Google gives me advise to use jmap with -histo:live option, but I am not able to understand what information it actually provides. The command I am using is

jmap -histo:live $PID

Output:

 num     #instances         #bytes  class name
----------------------------------------------
   1:         13767        1453320  <constMethodKlass>
   2:         13767        1105416  <methodKlass>


You can also take a look at this which is free and is part of the Java API. There are some tutorials that explain how to use this technology. Hope this helps ...

~Bolt


Maybe you could investigate integrating Shadowtail with your application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜