• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Printing GC statistics

 
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
 
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.
 
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.
 
We find this kind of rampant individuality very disturbing. But not this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!