Java thousand asked _08jdk detailed (018) _jconsole is what

Source: Internet
Author: User
Tags jconsole

Click to enter _ more _java thousand ask

1. What is Jconsole?

Jconsole is a Java Program Performance Analyzer that can be run from the command line or in a terminal. can be used to monitor the performance of Java programs and tracking code.

At the same time, a set of interfaces is provided in the Com.sun.tools.jconsole package, allowing access to Jconsole to analyze and count threads, memory, classes, and objects.

2. How to use the Jconsole tool

We mainly introduce the use of jconsole tools, in the Java_home/bin path, we can directly open him. Such as:


We can connect to a running local process or remote process, after a successful connection such as:

?

First, we see that Jconsole provides several charts to show some of the key metrics of a Java program, such as heap memory, threads, classes, CPU usage, and we can view the details by switching tab.

Through Jconsole, we are able to clearly understand the running state of the Java program, to facilitate our optimization and monitoring of his. The specific use is relatively simple due to the graphical interface.

Learn how to monitor JVM operation see here: How to monitor the operation of the JVM

Java thousand asked _08jdk detailed (018) _jconsole is what

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.