Solved

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

Posted on 2014-11-17
1
596 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
numbers ascending pyramid 101 213
egit plugin on eclipse 8 82
table example 4 32
What browser will run Java? 7 65
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

830 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