Administration guide > Monitor the environment > Monitoring with WAS PMI


Enable PMI


Overview

Use WebSphere Application Server Performance Monitoring Infrastructure (PMI) to enable or disable statistics at any level. For example, you can choose to enable the map hit rate statistic for a particular map, but not the number of entry statistic or the loader batch update time statistic. You can enable PMI in the administrative console or with scripting.

Your application server must be started and have an eXtreme Scale-enabled application installed.

To enable PMI with scripting, you also must be able to log in and use the wsadmin tool. For more information about the wsadmin tool, see the wsadmin tool topic in the WebSphere Application Server information center.

Use WebSphere Application Server PMI to provide a granular mechanism with which you can enable or disable statistics at any level. For example, you can choose to enable the map hit rate statistic for a particular map, but not the number of entry or the loader batch update time statistics. This section shows how to use the administrative console and wsadmin scripts to enable ObjectGrid PMI.


Procedure


Enable PMI statistics for the sample application

  1. Launch the application using:

      http://host:port/ObjectGridSample

  2. To generate actions to the ObjectGrid and maps, in the sample application, click...

      ObjectGridCreationServlet | action buttons 1, 2, 3, 4, 5

    Do not close this servlet page right now.

  3. In the administrative console, click...

      Monitoring and Tuning | Performance Monitoring Infrastructure | server_name | Runtime tab | Custom radio button | Runtime tree | ObjectGrid Maps module clusterObjectGrid link | ObjectGrid Maps group

    Under the clusterObjectGrid group four maps exist:

    • counters
    • employees
    • offices
    • sites

    In the ObjectGrids instance, there is the clusterObjectGrid instance, and under that instance is a transaction type called DEFAULT.

  4. You can enable the statistics of interest to you. For example, you can enable number of map entries for employees map, and transaction response time for the DEFAULT transaction type.


What to do next

After PMI is enabled, you can view PMI statistics with the administrative console or through scripting.


Parent topic:

Monitor with WAS PMI