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
1
vote
2 answers

How to get current/max jvm heap utilization (single value) with jstat or other command-line based tool?

JConsole or J VisualVM show the maximum heap size and the current heap utilization. How can I get the same values, during the lifespan of an application, using a command-line based tool, such as jstat? From the metrics that I collect with jstat -gc …
user252816
  • 563
  • 4
  • 12
  • 21
1
vote
1 answer

jstat and JSP configuration

I have installed and configured jstat in my PC with Windows XP, tested it with sample Java program. But I need to know how to use jstat with JSP or Tomcat, is there any other futher configuration needed or not?
Lalchand
  • 7,627
  • 26
  • 67
  • 79
1
vote
1 answer

Drawing an error ellipse in javascript with d3 and numericjs

I'm attempting to implement this method for drawing covariance error ellipses in javascript. errorEllipse = function(stdDevX, stdDevY, cor, center, level) { var errEllipse, cov = cor * stdDevX * stdDevY, covmat = [ [stdDevX * stdDevX, cov], …
BPhlin
  • 81
  • 9
1
vote
1 answer

Unable to start jstatd.exe to monitor applications remotely?

Great day to you all. I want to use jstatd to monitor JVM, GC, Heap and some important metrics of some applications running in remote machines. When I tried executing the command jstatd.exe from bin folder of the java path via commandline, I am…
Yasir
  • 81
  • 1
  • 3
  • 20
1
vote
0 answers

Jstat collecting incorrect metrics

I'm using jstat to collect jvm metrics and push them to graphite through collectd. A few days ago i noticed that i had "spikes" in the graphs regarding Old Space, but those were not triggering any full GCs, which lead me to thinking that the metric…
user1159791
  • 505
  • 1
  • 7
  • 15
1
vote
2 answers

How to check how many classes are loaded and how much space they will take?

I am planning to migrate to Java 8, before I want to check how many classes are being loaded in my project, and more important how much space they will take, so that I can tune and configure metaspace accordingly. I know that I can use jstat for…
user4577362
1
vote
1 answer

Excessive jstat "Class Loader Time"

Our Java-based server application is reporting an unusually high class loader time: # jstat -class 10625 1000 Loaded Bytes Unloaded Bytes Time 4781 9165.6 114 185.2 17769.35 4781 9165.6 114 185.2 17769.85 4781 …
Blanka
  • 7,381
  • 3
  • 23
  • 20
1
vote
0 answers

Tomcat's gc timestamp stops increasing when monitored by jstat -gc -t

Running tomcat 7.0.32 on oracle hotspot jdk 1.7.0_7 I get this peculiar output. I was hoping to pinpoint a memory leak, so I ran jstat -gc -t 2000. At first everything looks reasonable. I get a new line every 2-ish seconds. At some point though,…
zoomix
  • 915
  • 1
  • 6
  • 11
1
vote
1 answer

jstat : -gccapacity output

As per link : -gccapacity shows : NGCMX : Maximum new generation capacity (KB). NGC : Current new generation capacity (KB). Is NGC shows currently free new generation capacity or currently used new generation capacity.
VJS
  • 2,891
  • 7
  • 38
  • 70
0
votes
1 answer

How do I import jStat in a Svelte project

I have a Typescript file in a Svelte project and would like use jStat https://github.com/jstat/jstat like the following: export namespace Statistics { export function cdfNormal (x:number, mean:number = 0, standard_deviation:number = 1) { …
0x7477
  • 3
  • 4
0
votes
0 answers

Why is it different? Kubernetes Pod reporting more memory usage than actual process consumption

Why does kubernetes memory usage seem higher? I'm confused which metric is the real process's memory usage kubernetes top pod kubectl exec -it cm-gw-ts-skt-b4f5cd9bd-9mz66 -- jstat -gc pgrep java 1000 3| tail -n 3 | awk '{split($0,a," ");…
jungho
  • 1
0
votes
1 answer

Get GC log data from the Docker container using jstat

I have a java application running inside a docker container with OpenJDK11. I want to get GC data from this application using jstat tool (available inside a container). Any idea how can I achieve this from the host or another container running on…
Mahesh
  • 103
  • 1
  • 10
0
votes
1 answer

How to monitor JVM usages for Websphere Applications?

I'm trying to monitor JVM usages in IBM Websphere Server. Normally I use jstat tool from the JDK but since that's not available with IBM WAS, is there any other tool available for the same?
JCodeX
  • 19
  • 1
  • 9
0
votes
2 answers

Why is "MC" greater than "MU" when I use the jstat command?

Why is MC greater than mu when I use the jstat command?, eg. $./jstat -gc 2820 S0C S1C S0U S1U EC EU OC OU MC MU CCSC CCSU YGC YGCT FGC FGCT GCT 174720.0 174720.0 0.0 64633.5…
joy
  • 29
  • 4
0
votes
1 answer

No swap in survivor area

This is the result of my gc command. Why is the survivor area not swapped after Minor GC? Why didn't the old age increase at all?
dai
  • 1,025
  • 2
  • 13
  • 33