HPjmeter 4.3 User's Guide
3 Getting Started
Are You Monitoring an Application or Analyzing Collected Data?
HPjmeter helps you to monitor a live run of your application. You can also view saved data captured
using HPjmeter during a live session, by using profiling or garbage collection options when you
start your application, or if you are running HP JDK/JRE 5.0.04 (or higher), by starting and stopping
profiling data collection from the command line.
Choose the get started information appropriate for your activity:
• Using HPjmeter to Monitor Applications (page 34)
• Using HPjmeter to Analyze Profiling Data (page 39)
• Using HPjmeter to Analyze Garbage Collection Data (page 41)
• Profiling with Zero Preparation (page 74)
Need a jumpstart?:
To aid in starting your use of HPjmeter, the console can display a beginning console guide
containing hints for getting started. The guide provides hints according to data set selected in the
console main pane.
To enable or disable the console guide, click Edit→ Window Preferences and toggle to the desired
option.
Using HPjmeter to Monitor Applications
The following sections summarize how to use HPjmeter to monitor applications. Detailed descriptions
of the behavior of HPjmeter are linked to from each section.
Configure and Start Your Application
1. Set the command line of your Java application to use the JVM agent and any desired agent
options.
2. Start your application with the JVM agent.
For details, see:
• Configuring your Application to Use HPjmeter Command Line Options (page 25)
• JVM Agent Options (page 27)
Confirm that the Node Agent is Running
With a standard installation, the node agent should be running on the systems where it was installed.
For details about the node agent, see:
• Managing Node Agents On HP-UX (page 47)
Start the Console
Start the console from a local installation on your client workstation.
For starting instructions by platform, see Starting the Console.
Connect to the Node Agent from the Console
Procedure 1 Connection to Server (Default Mode)
To connect to a node agent:
34 Getting Started