HP

HPjmeter 4.1 User's Guide

English
  HPjmeter 4.1 User's Guide   

Chapter 4 Monitoring Applications

In addition to using HPjmeter when you notice a problem, you can also use it to prevent problems. For example:

  • You can use HPjmeter to check the efficiency of your applications, even if you don't notice a problem.

    To make it easier to detect problems, you should periodically review key metrics for your application to establish a baseline profile.

    To save metrics information to a file that you can review later, see Saving Monitoring Metrics Information.

  • You can check your application after making code or configuration changes to see how performance might have been affected.

NOTE: You cannot use HPjmeter to monitor Java applets in a production environment.

Controlling Data Collection and Display

HPjmeter provides two methods to control how information is collected and displayed.

JVM agent filters. The include and exclude options to the JVM agent allow you to filter metrics by class name.

JVM agent filters are configured when you start the JVM, and cannot be dynamically changed.

Console filters are configured when you open a session with a JVM agent, and can be changed from session to session. With HPjmeter 4.0 and later, these filters can also be changed during a session.

NOTE: In metrics displays, you can see the list of filters in effect while the data was collected, including default agent filters, by clicking the bytecode instrumentation filter icon icon.

Related Topics