Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to monitor JVM without installing JDK

Tags:

jvm

monitoring

I want to monitor JVM performance on my production environment. I have installed only JRE, not JDK, Hence i can't use jstat, jconsole etc. to monitor the JVM performance.

Can somebody please help to understand how can i monitor JVM performance in this scenario?

Is there any way to achieve this?

(please note that i don't want to monitor it remotely through JMX or something else. i would like to install local agent in each machine which will send the metrics to server at the interval of 1 minute.)

Thanks, KS

like image 951
Kunal Avatar asked Nov 10 '22 04:11

Kunal


1 Answers

If you manage to get JMX up and running on your VM (from the comment), you can then use jmxterm or jmxfetch to push these JMX metrics into a metrics system (like graphite or Datadog).

like image 185
Alexis Lê-Quôc Avatar answered Dec 25 '22 01:12

Alexis Lê-Quôc