Chapter 8. Performance Monitoring and Tuning

8.1.  Use the Tivoli Performance Viewer (TPV) to monitor the WebSphere Application Server runtime.

Tivoli Performance Viewer enables administrators and programmers to monitor the overall health of WebSphere Application Server from within the administrative console.

By viewing Tivoli Performance Viewer data, administrators can determine which part of the application and configuration settings to change in order to improve performance. For example, you can view the servlet summary reports, enterprise beans, and Enterprise JavaBeans (EJB) methods in order to determine what part of the application to focus on. Then, you can sort these tables to determine which of these resources has the highest response time. Focus on improving the configuration for those application resources taking the longest response time.

Log into the WAS Admin Console and go to Monitor and Tuning > Performance Viewer > Current Activity

Then select the server which you want to monitor:

Figure 8.1. Start Server monitoring

Start Server monitoring


After monitoring is started, a message is returned in the messages section of the window, and the Status column of the server is updated to Monitored.

The PMI data can only be observed one server at a time when using a single user session. Select the server name link to navigate to the Tivoli Performance Viewer window. On this page it displays two parts first on the left hand side it has links to all the TPV modules such as Advisor, Settings, Summary Reports, Performance Modules and on the right hand side it displays the current activity on the server.

Figure 8.2. Tivoli Performance Viewer

Tivoli Performance Viewer


The default view for this window shows the Servlet Summary Report pane, which indicates recent servlet activity and the TPV tree navigation pane.

Tivoli Performance Viewer summary report types

  • Servlets

    The servlet summary lists all servlets that are running in the current application server. Use the servlet summary view to quickly find the most time intensive servlets and the applications that use them, and to determine which servlets are invoked most often. You can sort the summary table by any of the columns.

  • Enterprise beans

    The Enterprise JavaBeans (EJB) summary lists all enterprise beans running in the server, the amount of time spent in their methods, the number of EJB invocations, and the total time spent in each enterprise bean.

  • EJB methods

    The EJB method summary shows statistics for each EJB method. Use the EJB method summary to find the most costly methods of your enterprise beans.

  • Connection pools

    The connection pool summary lists all data source connections that are defined in the application server and shows their usage over time.

  • Thread Pools

    The thread pool summary shows the usage of all thread pools in the application server over time.

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