HP

HPjmeter 4.1 User's Guide

English
  HPjmeter 4.1 User's Guide > Chapter 3 Getting Started   

Using HPjmeter to Analyze Garbage Collection Data

The following steps summarize how to use HPjmeter to view garbage collection information from your applications.

NOTE: If you are running the HP JDK/JRE 5.0.14 or 6.0.02 version, you can send a signal to the running JVM to start and stop a verbose GC data collection period with zero preparation and no interruption of your application. See Collecting GC Data with Zero Preparation.
  1. Configure your application.

    Change the command line of your Java application to use -Xverbosegc or -Xloggc options to capture garbage collection data.

  2. Run the application to create a data file.

  3. Start the console from a local installation on your client workstation.

  4. Click File->Open File to browse for and open the data file, or drag and drop the file onto the console

    GC viewer initial display
  5. A GC viewer window opens and displays a set of tabs containing summary and graphical metric data.

  6. Click among the tabs to view available metrics.

For details on individual metrics and how to interpret the data display, see: