Operating Systems: i5/OS
Personalize the table of contents and search results
Enable the Java virtual machine profiler data
Use the Java virtual machine profiler to enable the collection
of information.
Overview
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
- Open the administrative console.
- Click Servers > Application Servers in the administrative
console navigation tree.
- Click the application server for the JVM profiler that needs enabling.
- Click Java and Process Management under Server Infrastructure.
- Click Process Definition.
- Click Java virtual machine under Additional properties.
- Type -agentlib:QWASJVMTI in
the Generic JVM arguments field.
Note: If the deprecated
JVMPI profiler is used in WebSphere Application Server V6.1,
type -XrunQWASJVMPI in the Generic JVM arguments field. For
more information, refer to Java virtual machine profiling.
- Click Apply or OK.
- Click Save.
- Click Servers > Application Servers in the administrative
console navigation tree.
- Click the application server for the JVM profiler that needs enabling.
- 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.
- Click Performance Monitoring Infrastructure under Performance.
- Select the Enable Performance Monitoring Infrastructure (PMI) check
box.
- Click Custom and select JVM Runtime on the left-side
tree.
- 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.
- Click Apply or OK.
- Click Save.
- Start the application server, or restart the application server
if it is currently running.
- Refresh the Tivoli Performance Viewer if you are using it.
The changes you make will not take effect until you restart the application
server.
}
Java virtual machine profiling
Related tasks
Enabling PMI using the administrative console
Enabling PMI using the wsadmin tool
|