HPjmeter 4.3 User's Guide

Contents
About This Document...................................................................................19
Intended Audience..................................................................................................................19
Typographic Conventions.........................................................................................................19
Additional HPjmeter Documents................................................................................................19
Related Information.................................................................................................................19
HP Encourages Your Comments................................................................................................20
1 Introducing HPjmeter 4.3.00.00 ................................................................21
Features................................................................................................................................21
Concepts...............................................................................................................................22
JVM Agent........................................................................................................................22
Node Agent......................................................................................................................23
2 Completing Installation of HPjmeter ............................................................24
Platform Support and System Requirements.................................................................................24
Agent Requirements...........................................................................................................24
Console Requirements........................................................................................................24
Completing the installation.......................................................................................................25
File Locations.........................................................................................................................25
Attaching to the JVM Agent of a Running Application..................................................................25
Configuring your Application to Use HPjmeter Command Line Options..........................................25
Preparing to run Java.........................................................................................................25
Example Usage............................................................................................................26
JVM Agent Options............................................................................................................27
Showing Version Information..........................................................................................27
Selecting Other JVM Agent Options................................................................................27
JVM Options Usage Examples........................................................................................31
Security Awareness.................................................................................................................32
Securing Communication Between the HPjmeter Node Agent and the Console...........................32
Ensuring the Integrity of HPjmeter Console/Node Agent Data Transfer.................................32
Protecting Data Confidentiality During HPjmeter Console/Node Agent Communication..........32
Working with Firewalls ..................................................................................................32
Configuring User Access................................................................................................32
Securing Communication Between the JVM and the HPjmeter Node Agent ...............................33
3 Getting Started .......................................................................................34
Are You Monitoring an Application or Analyzing Collected Data?................................................34
Using HPjmeter to Monitor Applications....................................................................................34
Configure and Start Your Application...................................................................................34
Confirm that the Node Agent is Running...............................................................................34
Start the Console...............................................................................................................34
Connect to the Node Agent from the Console........................................................................34
Set Session Preferences.......................................................................................................37
Changing Session Preferences During a Session.....................................................................39
View Monitoring Metrics During Your Open Session...............................................................39
Using HPjmeter to Analyze Profiling Data..................................................................................39
Using HPjmeter to Analyze Garbage Collection Data..................................................................41
Monitoring Demonstration Instructions.......................................................................................42
Memory Leak Applications..................................................................................................43
Thread Deadlock Sample....................................................................................................44
4 Monitoring Applications ...........................................................................46
Controlling Data Collection and Display....................................................................................46
12 Contents