Java Virtual Machine Performance management artifact-VisualVM (2) Getting Started

Source: Internet
Author: User
Tags visualvm

Download VISUALVM

      1. Latest version Download
      2. Historical version Download

Two-Start VISUALVM

Three VISUALVM User Directory

Four VISUALVM window

      1. 1 Application windows
      2. 2 Details Window

Five VISUALVM plug-in

Java Virtual Machine Performance management artifact-VisualVM (2) Getting Started

First, downloadVisualVM

1. Latest version Download

VISUALVM downloads can be downloaded to the official website: http://visualvm.java.net/. You can also download the corresponding version via http://visualvm.java.net/releases.html.

2. Historical version Download

VisualVM versions download page: Visualvm-java monitoring Tools (4)-The JDK version corresponds to the VisualVM version

Note: The following table shows that 1.3.6 version is only suitable for JDK7 and JDK8, but I can monitor jdk1.6_45 version with 1.3.6 version.

Second, startVisualVM

After downloading the VisualVM zip archive and extracting it to the local system, open the directory to the bin directory, double-click the VisualVM executable under Windows, and type the following at the execution (Shell) command prompt under Linux:

[Java]View Plaincopy print?
    1. ./VISUALVM
./VISUALVM

When you first start VisualVM, you are prompted to accept the license agreement.

ThreeVISUALVM User Directory

On Windows, the default location for The VisualVM user directory is: C:\Documents and Settings\<user>\application Data\.visualvm\fcs

To find the location of the VisualVM user directory, choose Help > About from the main menu, and then click Details in the About VisualVM window.

FourVISUALVM window(1) application window

When the application is started, the Applications window opens on the left side of the VisualVM main window. The Applications window is the main entry point for browsing the running application details. The Applications window is tree-structured so that you can quickly view the applications running on the local computer and any connected remote computers. You can also access core dump (Solaris/linux) and saved snapshots from the applications window.

Right-clicking a node in the Applications window opens a pop-up menu that allows you to perform actions related to that node, including opening the application label, piling dump and thread dump, and opening the snapshot in the main window.

(2) Details windowdetailed information about the application is displayed in the Details window. When you view data about an application, each label in the Details window represents an application, which allows you to easily view and navigate the data. The saved thread dump and heap dump can also be opened in the Details window. FiveVISUALVM plug-in

For example, install VISUALVM-GC Plug-ins can add   "VISUALVM-GC"   label , this tab allows you to monitor and manage Java applications VisualVM GC state.

To install the VisualVM plugin:

    1. From the main menu, choose Tools > Plugins.
    2. In the Available Plugins tab, select the Install check box for the plug-in. Click Install.
    3. Step through the plugin installer.

Detailed plug-in installation See: Java Virtual Machine Performance management artifact-VisualVM (3) Plug-in installation and update path configuration

Other articles:

Java Virtual Machine Performance management artifact-VisualVM (1) Introduction-JVM Lightweight monitoring analysis artifact Java Virtual Machine Performance management artifact-VisualVM (2) Getting Started Java Virtual Machine Performance management artifact-VisualVM (3) Plug-in installation and update path configuration Java Virtual Machine Performance management artifact-VisualVM (4)-The JDK version corresponds to the VisualVM version Java Virtual Machine Performance management artifact-VisualVM (5) Monitoring Java applications on a remote host Java Virtual Machine Performance management artifact-VisualVM (6) Troubleshooting Java application memory leaks Java Virtual Machine Performance management artifact-VisualVM (7) Troubleshooting Java application thread leaks Java Virtual Machine Performance management artifact-VisualVM (8) Find time-consuming method functions for Java applications Java Virtual Machine Performance management artifact-VisualVM (9) Troubleshooting Java application thread deadlock

Java Virtual Machine Performance management artifact-VisualVM (2) Getting Started

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.