 |
» |
|
|
 |
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 |  |
Set
the command line of your Java application to use the JVM agent and
any desired agent options. Start
your application with the JVM agent.
For details, see: 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: 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 3-2 Default Connection to Server To connect to a node agent: Choose Connect from the File menu or click Connect
to server [ ]
In the Connect to Server dialog box, type the
complete host name (server.domain.com)
on which a Java application and a corresponding node agent are running. Optionally, in the Optional Port box, specify a port number
through which information can pass to the node agent. Click Connect. After a few moments, the running JVM
for each application should appear in the console main window pane
marked with this symbol: . Repeat
the previous steps if you want to connect to several node agents.
Procedure 3-3 Secured Connection to Server To connect to a node agent via a SecureShell (SSH) tunnel: Choose Connect from the File Menu or click Connect
to server [ ] In the Connect to Server dialog box, type the complete host name (<server.domain.com>) of the system that is the designated host for the SSH tunnel
(the SSH delegate machine). Optionally, in the Optional Port box, specify a port number
through which information can pass from the SSH delegate to the node
agent. Check the box labeled Use SSH Options. The Connect to Server dialog expands
to reveal required SSH attributes. Type the IP address (External
IP) of the SSH delegate. Type the port number (External Port) on the SSH delegate through which information can pass from the
console to the node agent. Type the port number (Internal Port) on the SSH delegate through which information can pass to the console
from the node agent. Click Connect. After a few moments, the running JVM for each application
should appear in the console main window pane marked with this symbol: . Repeat the previous steps if you
want to connect to several node agents.
Set Session Preferences |  |
Double-click on the JVM
icon in the data pane for the application that you want to monitor. This opens the Session Preferences dialog box. You can see the default
settings for metrics, filters, and alerts. Enable the settings that
you want to activate. Click OK. The preferences window will close and the newly Open Session will
be visible, marked by this icon:  Though it is possible to begin viewing application
activity immediately in the monitoring visualizers, you may want to
wait for a short period of time before viewing some of the metrics.
The length of time needed to collect sufficient data depends on the
application size, the load imposed on the application, and on the
selected preferences. Typically, a wait of 5 to 30 minutes provides
sufficient data to begin seeing significant clues to the application
behavior and performance. A longer collection time gives you greater
accuracy in the results.
For details, see: View Monitoring Metrics During Your Open Session |  |
Click on the open session or time slice to highlight
the data that you would like to view. Use the Monitor menu on the console
main window to select the metrics that you want to see. Mousing over
each category in the cascading menu will reveal the relevant metrics
for that category. Click a metric to open a metric visualizer displaying
the chosen data.
For details on individual metrics and how to interpret
the data display, see: See also:
|