• Post Reply Bookmark Topic Watch Topic
  • New Topic

Printing GC statistics  RSS feed

 
Serkan Demir
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I have an urgent question. We have a process which is already up in our production environment. I need GC statistics since we have some doubts on stop-the-world case (application threads are stopped and waiting something very long). I mean by GC statistics, Full GC times and its frequency. Unfortunately, we didnot start this application with -verbose:gc parameters and no opportunity to add this parameter and restart it. Our application uses jre 1.4.x, so i cannot monitor it with jconsole.
Could you advise me on how to get these GC statistics for this application??

thanks lot,

Serkan
 
Ådne Brunborg
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My most immediate reaction is to ask:

- why can you not restart your application with -verbose:gc set?
 
Serkan Demir
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is a telecom application and high availability is matter.
 
Jeevan Philip
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may not be able to generate GC stat files without lot of work. But one option will be to inspect the GC usage chart/graph in your app server console or use some third party real-time monitoring tools like quest spotlight.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!