Enabling JVMPI from the Administrative Console
To enable JVMPI reporting for each individual appserver or Node Agent, do the following in the WebSphere Administrative Console:
1. Select Servers -> Application Servers or System Administration -> Node Agents in the console navigation tree (depending on the JVM you would like to profile). 2. Select the appserver or Node Agent from the list of application servers or Node Agents in the workspace for which JVMPI needs to be enabled. 3. Click the Process Definition entry in the Additional Properties pane of the workspace. 4. Click the Java Virtual Machine link in the Additional Properties pane. 5. Type -XrunpmiJvmpiProfiler into the Generic JVM arguments field as shown in Figure 16-6. Add this entry before or after any existing arguments in case you have other arguments already.
Figure 16-6 Enabling JVMPI
6. Click Apply or OK to apply the changes. 7. Click Save to store the changes in the WebSphere configuration. 8. Start the appserver or Node Agent, or restart the application server or Node Agent if it is currently running. Make sure you have set the instrumentation level in the PMI setting on the JVM module to MAX for the profiler counters to be updated. Also, refresh the Tivoli Performance Viewer if you are using it.
Important: Node Agents and appservers collect data in the JVMPI counters of the JVM module regardless of having the command-line argument specified. Be aware that collected data is not reliable until the -XrunpmiJvmpiProfiler argument is specified.
Prev | Home | Next WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.
Tivoli is a trademark of the IBM Corporation in the United States, other countries, or both.