Solved

How to read the output of "jstat  -gcutil <PID>?"

Posted on 2014-11-17
1
535 Views
Last Modified: 2014-11-23
I am running the tomcat server and getting heap memory related error in catalina.out when I execute "jstat  -gcutil <PID>" I see following:

/usr/java/jdk1.7.0_25/bin/jstat  -gcutil 47929 
  S0     S1     E      O      P     YGC     YGCT    FGC    FGCT     GCT   
  0.00   0.00  68.46 100.00  57.08  44539 5829.704 303497 241552.104 247381.808

Open in new window


How to read above output? what is S0/S1/E/O/P and does it doing full GCing? Thanks!
0
Comment
Question by:beer9
1 Comment
 
LVL 21

Accepted Solution

by:
Amitkumar Panchal earned 500 total points
ID: 40448928
S0 =      Survivor space 0 utilization as a percentage of the space's current capacity.
S1 = Survivor space 1 utilization as a percentage of the space's current capacity.
E = Eden space utilization as a percentage of the space's current capacity.
O = Old space utilization as a percentage of the space's current capacity.
P = Permanent space utilization as a percentage of the space's current capacity.
YGC = Number of young generation GC events.
YGCT = Young generation garbage collection time.
FGC = Number of full GC events.
FGCT = Full garbage collection time.
GCT = Total garbage collection time.


Refer the documentation at https://docs.oracle.com/javase/7/docs/technotes/tools/share/jstat.html#gcutil_option

Additionally you can refer http://www.cs.lafayette.edu/docs/java/tooldocs/share/jstat.html also.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now