If you want to develop a monitoring tool for JVM, what should you learn?

what should I learn if I want to develop a monitoring tool for JVM?

Apr.01,2021

jmap, jps, jinfo, jstat, jmx, etc.


JMX can achieve most functions.
calls the JMX interface regularly to send data through messages.
use a unified monitoring application for data statistics.


has not been developed, and the details are not very clear, but " in-depth understanding of the Java virtual machine "Section 4.1 has the following snippets:

JDK's command-line tools are mostly a thin wrapper of the java/lib/tools.jar class library, and their main functional code is implemented in the tools class library.
.
with the interface in the tools.jar class library, we can directly implement the powerful monitoring and analysis function in the application.

so maybe you can start with tools.jar.


look directly at the jconsole,jvisualvm source code

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38591-2c0ef.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38591-2c0ef.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?