Configuring the Performance Monitoring Infrastructure using scripting
You can use the wsadmin tool to configure the Performance Monitoring Infrastructure (PMI) in your environment. PMI enables the server to collect performance data from various product components. PMI provides information about average system resource usage statistics, with no correlation between the data across different components.
About this task
There are two ways to perform this task. Complete the
steps in this topic to use the AdminConfig object to modify your server
configuration. Alternatively, you can use the configurePerformanceMonitoringService
Jython script in the AdminServerManagement script library to configure
PMI. The wsadmin tool automatically loads the script when the tool
starts. Use the following syntax to configure PMI settings using the
configurePerformanceMonitoringService script:
AdminServerManagement.configurePerformanceMonitoringService(nodeName,
serverName, enable, initialSpecLevel, otherAttributeList)
For
additional information and argument definitions, see the documentation
for the AdminServerMananagment script library.