Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HPjmeter: User's Guide > Chapter 4 Monitoring Applications

Saving Monitoring Metrics Information

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

HPjmeter offers two methods to save monitoring metrics information to a file.

  • If you know in advance that you want to capture information for an entire application session, you can run the JVM agent monitor_batch option when you start the application. See JVM agent option monitor_batch[:file=filename].

    When you save information using the monitor_batch option, the information is captured from the start of the application session in a file on the managed node. To stop capturing information, stop your application. For more information, see monitor_batch[:file=filename].

  • If you want to capture information from the start of the console session to the current time, click File->Save as to name the saved data file. For details, see Saving Data from the Console

Each of these methods saves metrics information that you can later load into the console using the Open File button or menu option.

You can use these data files to capture information from live sessions to review later or to send to a development team to show the state of your application.

NOTE: Saved data files can be quite large. If you expect to keep the files or you plan to transfer the files, compress the files for speedier transfer.

Compressing the files also reduces the chances that the file could be corrupted during a transfer.

You will have to expand compressed files before you can load them into the console.

Saving Data from the Console

When you save information using the Save as button from the console, the information from the start of the console session is saved in a file on the system running the console.

In addition, you can save information from any cached session available on the console.

To save information as a console snapshot:

  1. Go to the console main window.

  2. Select a live or cached session node from the data tree.

  3. Click File->Save as from the main window tool bar.

    This opens the file chooser that allows you to specify where to save the file.

  4. In the file chooser, select the directory in which you want to save the snapshot file.

  5. Specify the snapshot file name.

    The file chooser automatically appends the extension .hpjmeter to your file name.

    To prevent adding the file name extension, use double quotes to surround the file name.

  6. Click Save.

    HPjmeter writes the session information to the file.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2006 Hewlett-Packard Development Company, L.P.