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. [AIX Solaris HP-UX Linux Windows]In the Server Infrastructure section, click Java and process management > Process definition > Java virtual machine.
  5. [AIX Solaris HP-UX Linux Windows]Type -agentlib:pmiJvmtiProfiler 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.
  14. Click a JVM profiler group under JVM Runtime and enable or disable the statistic on the 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 do not take effect until you restart the application server.