JBoss Community

Re: How Can I monitoring java heap with jstat?

created by erasmo2 marciano2 in Performance Tuning - View the full discussion

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@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

Start a new discussion in Performance Tuning at Community