[jboss-user] [Performance Tuning] - Re: How Can I monitoring java heap with jstat?

erasmo2 marciano2 do-not-reply at jboss.com
Wed Nov 21 09:23:47 EST 2012


erasmo2 marciano2 [https://community.jboss.org/people/erasmomarciano] created the discussion

"Re: How Can I monitoring java heap with jstat?"

To view the discussion, visit: https://community.jboss.org/message/777734#777734

--------------------------------------------------------------
Hi thanks for reply

I know jconsole and other strument for calcolate the sum Heap.

I usally i run kill -3 on the PID


[rhusar at rhusar as-master]$ jmap -histo:live 18281 | head

 num     #instances         #bytes  class name
----------------------------------------------
   1:        176916       24493688  <constMethodKlass>
   2:        176916       24077408  <methodKlass>
   3:         22170       23879160  <constantPoolKlass>
   4:         22170       18736416  <instanceKlassKlass>
   5:        139987       13574248  [C
   6:        198198       12992576  [B
   7:         18624       12898400  <constantPoolCacheKlass>

For calculate the sum Heap i have additional the point 1 2 ..7 ?  
I have a result in byte

thank
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/777734#777734]

Start a new discussion in Performance Tuning at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121121/acc4d39e/attachment.html 


More information about the jboss-user mailing list