Questions tagged [jstat]

A JavaScript statistical library. Also a Java Virtual Machine Statistics Monitoring Tool.

jStat is a JavaScript statistical library. jstat is also a Java Virtual Machine Statistics Monitoring Tool.

75 questions
18
votes
2 answers

Jstack and Jstat stopped working with upgrade to JDK6u23

We recently upgraded from JDK6u20 (Linux, 32bit and 64bit) to JDK6u23. Since then, we cannot longer use the tools jstack and jstat to get monitoring information from the running process. If we switch back to JDK6u20, everything works fine. We are…
ReneS
  • 3,535
  • 2
  • 26
  • 35
15
votes
1 answer

How to get heap usage using jstat?

I'm running jstat -gc (from OpenJDK): # jstat -gc 1 S0C S1C S0U S1U EC EU OC OU MC MU CCSC CCSU YGC YGCT FGC FGCT GCT 287744.0 290304.0 88368.6 0.0 1469440.0 787186.5 2162176.0 …
X. Wo Satuk
  • 923
  • 1
  • 11
  • 18
14
votes
7 answers

Analyze GC logs for Sun Hotspots, JVM 6

I'm trying to analyze GC behaviour for our application (running in Tomcat, under Sun's Hotspots, JVM 1.6). So far I've Instructed the JVM to emit GC logs to a separate file using... -Xloggc:gc.log -XX:+PrintGCApplicationStoppedTime…
ripper234
  • 222,824
  • 274
  • 634
  • 905
12
votes
4 answers

Seeking a statistical javascript function to return p-value from a z-score

I need to convert z-scores to percentile. I found reference to a function in the jStat library that I could use (jstat.ztest), but the jStat documentation seems to be ahead of the available library because there is no such function in the currently…
burgerB
  • 762
  • 1
  • 8
  • 18
11
votes
5 answers

Something keeps killing my Java process on Ubuntu, anyone know why?

So every couple of days my java process on Ubuntu is killed automatically, and I can't figure out why. My box has 35.84 GB of RAM, when I launch my Java process I pass it the -Xmx28g parameter, so it should be using way less than the maximum RAM…
sanity
  • 35,347
  • 40
  • 135
  • 226
10
votes
1 answer

jstat: difference between OGC & OC, PGC & PC

I'm learning about jstat and what it can tell me about the JVM's different generations. From the jstat docs I understand the new gen is made up of eden, s0 and s1. For example, if you do the math on the following, you see that NGC = EC + S0C + S1C.…
Steve Kehlet
  • 6,156
  • 5
  • 39
  • 40
9
votes
2 answers

What is the unit of YGCT in jstat output

S0C S1C S0U S1U EC EU OC OU MC MU CCSC CCSU YGC YGCT FGC FGCT GCT 245760.0 245760.0 33804.8 0.0 1966080.0 364994.1 8028160.0 138003.6 25984.0 25429.9 2944.0 2877.2 8 …
Kumar Saras
  • 225
  • 1
  • 4
  • 9
9
votes
2 answers

Specific meanings of jstat parameters : YGCT FGCT GCT

I need to use jstat to measure some GC parameters of a program. Jstat provides set of parameters ( S0C S1C S0U S1U EC EU OC OU MC MU CCSC CCSU YGC YGCT FGC FGCT GCT) From those I am bit confused with the descriptions for YGCT, FGCT and GCT. (YGCT …
user1182584
  • 93
  • 1
  • 4
8
votes
2 answers

Histogram in JavaScript?

I have this dataset for income: Income Number of people 0 245981 8.8 150444 30 126063 49.9 123519 70 115029 90.7 277149 109.1 355768 130 324246 150.3 353239 170.2 …
dani
  • 4,880
  • 8
  • 55
  • 95
8
votes
1 answer

Can't jcmd, jps or jstat cassandra process within the docker container

$ jcmd -l 418 sun.tools.jcmd.JCmd -l $ jstat -gcutil -t 10 250ms 1 10 not found I am aware of the bug in jdk related to attaching jstat as root to a process running as a different user. Here, this docker container has one user…
hs20400
  • 83
  • 1
  • 3
8
votes
2 answers

bash: jstat: command not found

I want to use the gc utility to analyse the garbage collection for my Cassandra database. But when I am running jstat command the output comes that bash:jstat: command not found. I searched and found that jstat is located in $JAVA_HOME/bin but I am…
Kumar Saras
  • 225
  • 1
  • 4
  • 9
7
votes
2 answers

What's the meaning of "CGC" and "CGCT" in JDK11 "jstat -gc "?

There are two items called CGC and CGCT. I cannot found the documention and man page describing their meaning. # jstat -gc 139934 S0C S1C S0U S1U EC EU OC OU MC MU CCSC CCSU YGC YGCT FGC …
Tom Jerry
  • 307
  • 2
  • 10
5
votes
0 answers

Windows Server 2008 and jstatd as a service

I have a JBoss server installed as a service on Windows Server 2008 with Local System as the Log On user. I want to be able to run visualgc on the JBoss server, and prior to Server 2008 I was able to directly connect to the PID (i.e. visualgc…
bpeters
  • 71
  • 4
5
votes
1 answer

jstat and jcmd giving different answers for metaspace memory

I'm currently investigating a compressed class space issue. I know what the issue is, but while investigating, I noticed that jstat -gc ... and jcmd ... GC.heap_info give different numbers of metaspace and compressed class space capacity and…
Bryan Head
  • 12,360
  • 5
  • 32
  • 50
5
votes
1 answer

jstat -gcmetatcapacity output MCMX values seems to be irrelevant

I am running a jvm (java 8) with parameters "-XX:MetaspaceSize=256M and -XX:MaxMetaspaceSize=256M". When I execute "jstat -gcmetacapacity ", it outputs, MCMN MCMX MC CCSMN CCSMX CCSC YGC FGC FGCT GCT…
nitzien
  • 1,117
  • 9
  • 23
1
2 3 4 5