Search code examples
jvmwebspheremonitor

Monitoring WebSphere JVMs


In order to monitor any normal Java process JVM, we can use the Attach API. Is there an API available to monitor a WebSphere JVM ?


Solution

  • You may use PMI (Performance Monitoring Infrastructure) to monitor both JVM and Java EE related metrics. PMI monitoring data my me accessed using

    • Tivoli Performace Viewer which is embedded in administrative console
    • PMI client (deprecated)
    • PerfServlet (if you don't want to use JMX, this servlet presents same info with XML over HTTP)
    • JMX Interface to PMI

    You may find following page helpful since you intend to use JMX, as it contains sample code for implementing a JMX client to access PMI data;

    Developing your own monitoring applications

    You may find information about other methods at monitoring section of Infocenter.