Solved

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

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

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

760 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

18 Experts available now in Live!

Get 1:1 Help Now