You can use the Performance Monitoring Infrastructure (PMI) interfaces to develop your own applications to collect and display performance information. There are three such interfaces - a Java Machine Extension (JMX)-based interface, a PMI client interface, and a servlet interface. All three interfaces return the same underlying data.
Why and when to perform this task
Steps for this task