HPjmeter 4.2 Users Guide
Document Notice
Table of Contents
Monitoring Applications
Analyzing Garbage Collection Data
116
Unfinalized Objects
Live Objects Bytes
197
187
192
199
Typographic Conventions
About This Document
Intended Audience
Additional HPjmeter Documents Related Information
Publishing History
HP Encourages Your Comments
Features
Introducing HPjmeter
Node Agent
Concepts
JVM Agent
Agent Requirements
Completing Installation of HPjmeter
Platform Support and System Requirements
Console Requirements
Attaching to the JVM Agent of a Running Application
Completing the installation
File Locations
Preparing to run Java
Example Usage
On Java
Selecting Other JVM Agent Options
JVM Agent Options
Showing Version Information
Include=filter1filter2..., exclude=filter1filter2
To specify a file name
Noalloc
Working with Firewalls
Security Awareness
JVM Options Usage Examples
Configuring User Access
Using HPjmeter to Monitor Applications
Getting Started
To connect to a node agent via a SecureShell SSH tunnel
Using HPjmeter to Monitor Applications
Set Session Preferences
When the Optional Port Box Is Not Used
Getting Started
View Monitoring Metrics During Your Open Session
Using HPjmeter to Analyze Profiling Data
Changing Session Preferences During a Session
Configure your application
Using HPjmeter to Analyze Garbage Collection Data
Monitoring Demonstration Instructions
Memory Leak Applications
Thread Deadlock Sample
See also Heap Usage Notification
Thread Deadlock Example Display
Controlling Data Collection and Display
Setting Data Collection Preferences
Monitoring Applications
Running Node Agent as a Daemon
Managing Node Agents
Managing Node Agents On HP-UX
Verifying HP-UX Daemon is Running
Running Multiple Node Agents
Node Agent Access Restrictions
Saving Monitoring Metrics Information
Stopping Node Agents
Saving Data from the Console
Diagnosing Errors When Monitoring Running Applications
Naming Monitoring Data Files
Identifying Unexpected CPU Usage by Method
Checking for Long Garbage Collection Pauses
Checking for Application Paging Problems
Viewing the Application Load
Identifying Excessive Calls to System.gc
Reviewing the Percentage of Time Spent in Garbage Collection
Monitoring Applications
Determining the Severity of a Memory Leak
Checking for Proper Heap Sizing
Confirming Java Memory Leaks
Identifying Abnormal Thread Termination
Identifying Excessive Object Allocation
Identifying the Site of Excessive Object Allocation
Identifying Multiple Short-lived Threads
Identifying Excessive Thread Creation
Identifying Excessive Lock Contention
Identifying Deadlocked Threads
Identifying Excessive Method Compilation
Example Metric Method Compilation Count
Using the JMX Viewer
Identifying Too Many Classes Loaded
Understanding the JMX Summary View
JMX Summary Tab
Appearance of the Summary JMX Viewer When First Opened
JMX Memory Tab
JMX Viewer with Summary Memory Tab Selected
SSL
Symbols
Index
Alert Notification Editor, 107 alerts
Restore Roots
Alert Notification Editor, 108 count
Collecting with zero preparation, 83 GC event
Glance system call data, 174 graphical scrolling
JVM
Duration Stop the World, 158 enable, 99
User-Defined X-Y Axes for GC analysis, 167 viewing, 29
Program termination, 47 overhead
Scale Special, 72 scaling data
Xeprofoptions
Xbootclasspath