jvm own monitoring mechanism

Jdk provides us with a view java monitor the situation runtime services

 

1. As shown below, opened in the specified directory jconsole.exe application files.

 

 

2. Double-click to jump out the following interface, you can see that we can monitor local and remote services can be monitored. Local service, if you have opened it to find its own, we can select; the need to provide remote service <hostname>: <Port> . We selected local services.

 

 

3. can see the following interface after opening, information display, including: heap memory usage, the number of real-time threads, the number of classes loaded, the CPU usage, the JVM summary and initialized Bean number, you can also check if there is a deadlock.

 

Guess you like

Origin www.cnblogs.com/fengyuduke/p/12069772.html