A tool called JConsole is provided for real-time monitoring of application information. I will keep a memo about how to use this JConsole.
- Eclipse Oxygen.3a Release (4.7.3a)
- JConsole 1.8.0_162-b12
JConsole is stored as exe in the bin folder of JDK, and you can start it by directly clicking “jconsole.exe”.
How to use JConsole
When JConsole is started, the above screen is displayed. For example, select the process you want to monitor from “Local Process” and click the “Connect” button.
If the above screen appears, click the “Unprotected connection” button if there is no particular problem. (This time it is a local connection so there is no particular problem)
As above screen
- Heap memory usage
- CPU usage You can check.
If you want to see more detailed information, open each tab and check.