JMX and system management — transfer

< H2 id = "n10062" > Preface

In the running process of Java programs, the monitoring of JVM and system has always been needed by Java developers in the development process. For a long time, Java developers must use some underlying JVM APIs, such as jvmpi and JVMTI, to monitor a series of JVM and system conditions during the running of Java programs. This method has been criticized because it requires a large number of C programs and JNI calls, and the development efficiency is very low. As a result, there are various packages dedicated to resource management. In order to solve this problem, sun also formally proposed Java Management Extensions (JMX) in its Java se 5 version to manage and detect Java programs (JMX is also released in J2EE 1.4).

The proposal of JMX makes it possible to develop self detection programs in JDK, and also provides a large number of lightweight ways to detect JVMs and running objects / threads, so as to improve the management and monitoring ability of Java language.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>