Chapter 6. Performance Monitoring and Tuning

6.1.  Use the Tivoli Performance Viewer (TPV) to monitor WebSphere runtime.

Tivoli Performance Viewer (TPV)

Tivoli Performance Viewer is included with WebSphere Application Server V8.0 and is used to record and display performance data. Using Tivoli Performance Viewer, you can perform the following tasks:

  • Display PMI data collected from local and remote application servers:

    Summary reports show key areas of contention. It also provides graphical and tabular views of raw PMI data.

  • Provide configuration advice through performance advisor section

    You can formulate tuning advice from gathered PMI and configuration data.

  • Log performance data

    Using Tivoli Performance Viewer, you can log real-time performance data and review the data at a later time.

  • View server performance logs

    You can record and view data that is logged using Tivoli Performance Viewer in the Integrated Solutions Console.

Using Tivoli Performance Viewer (TPV)

  1. Open the Integrated Solutions Console (ISC).

  2. Navigate to Tivoli Performance Viewer. In the Administrative Console's navigation panel, expand Monitoring and Tuning > Performance Viewer and click on Current Activity.

    Figure 6.1. 

    In the right panel you will see a table with a list of servers that can be monitored from the Administration Console. From this panel you are able to start/stop the performance monitoring process. When monitoring is enabled on a server, the PMI data that the server is generating can be collected and viewed within the Administrative Console. By default monitoring is not started on your application server, which means that no PMI data is actually being collected. Refer sections above how to enable Performance Monitoring Infrastructure (PMI).

    Figure 6.2. 

  3. Start monitoring your application server's PMI data. Select the check box next to server1 in the table and click Start Monitoring.

    Figure 6.3. 

    Verify that the following message appears at the top of Tivoli Performance Viewer panel:

    Figure 6.4. 

  4. Open the Tivoli Performance Viewer panel for server1. Click on server1 in the table. The Tivoli Performance Viewer will open in the right panel for server1:

    Figure 6.5. 

    1. The panel on the left allows you to select the different views and settings that are available. From this panel you can access the following functionality:

      • Advisor – Provides tuning advice based on the collected PMI data from your server.

      • Settings – Gives the user control over the PMI collection and logging.

      • Summary Reports – Predefined reports that allow you to quickly analyze your server's performance. The different reports that are available are described below:

        • Servlets – Displays total requests and average response time data for all of the Servlets that are currently gathering PMI data.

        • EJBs – Displays number of method calls and average response time data for all the Enterprise Beans that are currently gathering PMI data. Data is grouped according to bean name.

        • EJB methods – Displays number of method calls and average response time data for all the Enterprise Beans that are currently gathering PMI data. Data is grouped according to method name.

        • Connection Pool – Displays pool size and percentage of pool in use for data sources that are actively collecting PMI data.

        • Thread Pool – Displays pool size and number of active threads for the different thread pools within WebSphere (if they are actively collecting PMI data).

      • Performance Modules – List of available PMI modules on your server.

    2. The panel on the right displays the item that is selected on the left. By default the Servlets Summary Report is shown.

  5. View the collected PMI data for WebSphere's JVM Runtime.

    Select the JVM Runtime module. In the left panel, select the check box next to JVM Runtime.

    The right panel will show a graph containing JVM Runtime PMI data.

    Figure 6.6. 

  6. Optionally add or remove performance modules to or from the graph and examine the data that is collected.

    Figure 6.7. 

Professional hosting         Free 'Oracle Certified Expert Web Services Developer 6' Guide     Free SCDJWS 5.0 Guide