[JAVA] How to monitor application information in real time using JConsole

Overview

A tool called JConsole is provided for real-time monitoring of application information. I will leave a memorandum about how to use this JConsole.

Verification environment

Location of JConsole

image.png

JConsole is stored as an exe in the bin folder of the JDK, and you can start it by directly clicking "jconsole.exe".

How to use JConsole

image.png When you start JConsole, the above screen will be displayed. For example, select the process you want to monitor in "Local Process" and press the "Connect" button.

image.png If the above screen appears, click the "Unprotected Connection" button if there is no problem. (This time it is a local connection, so there is no problem)

image.png As shown in the above screen

    1. Heap memory usage
  1. thread
    1. class
  2. CPU usage You can check.

If you want to see more detailed information, open each tab and check.

Memory tab

image.png

Thread tab

image.png

Cluster tab

image.png

VM summary

image.png

MBeans image.png

Recommended Posts

How to monitor application information in real time using JConsole
How to get values in real time with TextWatcher (Android)
How to add application version information to Sentry information
How to set the display time to Japan time in Rails
How to get information about associated tables in many-to-many tables
How to convert A to a and a to A using AND and OR in Java
Link Docker log to AWS CloudWatch and monitor in real time with VS Code
How to create an application
How to change application.properties settings at boot time in Spring boot
How to set chrony when the time shifts in CentOS7
How to deploy jQuery in your Rails app using Webpacker
How to deploy Java application to Alibaba Cloud EDAS in Eclipse
How to install Web application for each language in Nginx
[Rails] How to display information stored in the database in view
How to authorize using graphql-ruby
How to control transactions in Spring Boot without using @Transactional
How to POST JSON in Java-Method using OkHttp3 and method using HttpUrlConnection-
[rails] How to display parent information in child view in nested relationships
How to store the information entered in textarea in a variable in the method
How to build an Apache Flink application from scratch in 5 minutes
How to solve the unknown error when using slf4j in Java
How to implement UI automated test using image comparison in Selenium
[rails6.0.0] How to save images using Active Storage in wizard format
How to use Lombok in Spring
How to find May'n in XPath
How to hide scrollbars in WebView
[rails] How to display db information
How to run JUnit in Eclipse
How to iterate infinitely in Ruby
[Rails] How to write in Japanese
How to run Ant in Gradle
How to master programming in 3 months
How to learn JAVA in 7 days
How to get parameters in Spark
How to install Bootstrap in Ruby
How to use InjectorHolder in OpenAM
How to introduce jQuery in Rails 6
How to use classes in Java?
How to name variables in Java
How to set Lombok in Eclipse
How to build CloudStack using Docker
How to concatenate strings in java
How to install Swiper in Rails
[Ruby on Rails] When logging in for the first time ・ How to split the screen in half using jQuery
How to implement a slideshow using slick in Rails (one by one & multiple by one)
[Architecture design] How to execute SQL in Java application? 2WaySql vs ORM
[Android application development] How to display in full screen (notification bar hidden)
How to migrate a web application created in a local docker environment to AWS
[Swift] How to set an image in the background without using UIImageView.
How to execute a contract using web3j
How to sort a List using Comparator
[swift5] How to specify color in hexadecimal
How to implement search functionality in Rails
How to implement date calculation in Java
How to implement Kalman filter in Java
Multilingual Locale in Java How to use Locale
How to change app name in rails
How to get date data in Ruby
How to use custom helpers in rails
[Rails] How to upload images using Carrierwave
How to reflect seeds.rb in production environment