+

Search Tips   |   Advanced Search

Enable the Java virtual machine profiler data

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

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.


Enable JVMTI data reporting for each individual application server

  1. Open the administrative console and click...

      Servers > Server Types > WebSphere application servers > application server > Server Infrastructure > Java and process management > Process definitionProcess definition > Java virtual machine

  2. Type -agentlib:pmiJvmtiProfiler in the Generic JVM arguments field.

    In a 64-bit environment, type -agentlib:pmiJvmtiProfiler64

  3. Click Apply or OK.

  4. Click Save.

  5. Click...

      Servers > Server Types > WebSphere application servers > application server > 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.

  6. Click Performance Monitoring Infrastructure under Performance.

  7. Select the Enable Performance Monitoring Infrastructure (PMI) check box.

  8. Click Custom and select JVM Runtime from the tree.

  9. 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.

  10. Click Apply or OK.

  11. Click Save.

  12. Start the application server, or restart the application server if it is currently running.

  13. Refresh the Tivoli Performance Viewer if we are using it. The changes we make do not take effect until you restart the application server.


Subtopics


  • Enable PMI
  • Enable PMI