Enabling the Java virtual machine profiler data

Use the Java™ virtual machine profiler to enable the collection of information.

About this task

Use the Java Virtual Machine Tool Interface (JVMTI) to collect data about garbage collection and thread states from the JVM that runs the application server. When JVMTI is enabled, a collection of JVMTI-specific statistics can be enabled through the predefined All statistic set or through the use of a Custom statistic set.

To enable JVMTI data reporting for each individual application server:

Procedure

  1. Open the administrative console.
  2. Click Servers > Server Types > WebSphere application servers in the administrative console navigation tree.
  3. Click the application server for the JVM profiler that needs enabling.
  4. In the Server Infrastructure section, click Java and process management > Process definition > Java virtual machine.
  5. Type -agentlib:QWASJVMTI in the Generic JVM arguments field.
  6. Click Apply or OK.
  7. Click Save.
  8. Click Servers > Server Types > WebSphere application servers in the administrative console navigation tree.
  9. Click the application server for the JVM profiler that needs enabling.
  10. Click the Configuration tab. When in the Configuration tab, settings apply when the server is restarted. When in the Runtime Tab, settings apply immediately. Performance Monitoring Infrastructure (PMI) can be enabled only in the Configuration tab.
  11. Click Performance Monitoring Infrastructure under Performance.
  12. Select the Enable Performance Monitoring Infrastructure (PMI) check box.
  13. Click Custom and select JVM Runtime on the left-side tree.
  14. Click a JVM profiler group under JVM Runtime and enable or disable the statistic on the right-side table. Go back to the main PMI configuration page, by clicking PMI.
  15. Click Apply or OK.
  16. Click Save.
  17. Start the application server, or restart the application server if it is currently running.
  18. Refresh the Tivoli® Performance Viewer if you are using it. The changes you make will not take effect until you restart the application server.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Oct 20, 2010 11:50:58 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-base-iseries&topic=tprf_jvmpidata
File name: tprf_jvmpidata.html