Jconsole monitoring the operation of Java programs

Source: Internet
Author: User

JConsole

First, What is JConsole?

from Java 5 began introducing jconsole jconsole is a built-in java Performance Analyzer, available from the command line or in gui Shell jconsole (or, it's more high-end " close relative " VisualVM java application performance and tracking java

Note: Now the JDK has developed to the jdk8 version, where I installed the jdk8, so jdk8 to share with you Some simple uses of jconsole

two ,jconsole Start-up problem

I now know that there are two ways to start ( also the two most common start-up methods command line and double-click )

1. start from the command line : make JDK on PATH, run Jconsole to

2, GUI shell boot : Find the JDK installation path, open the Bin folder, double-click jconsole

I use the second way: the first one, you can try it.

1 Find jdk installation directory JDK home--bin---> Jconsole

2 The Connection screen will appear after double click

Enter The Jconsole main interface has six tabs for overview, memory, threads, class, VM Summary, and Mbean:

The Memory tab is equivalent to the Jstat command, which monitors the change trend of the virtual machine memory (Java heap and permanent generation) managed by the collector, and can also observe the time and number of full GC executions in the detail bar .

Thread page Check

The last Common tab, VM tab for a clear understanding of the display of specified JVM parameters and heap information.

Jconsole monitoring the operation of Java programs

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.