This topic explains how you can use the Tivoli Performance Viewer
to start and stop performance monitoring; view Performance Monitoring Infrastructure
data in chart or table form as it occurs on your system; and, optionally,
log the data to a file that you can later review in the same viewer.
Before you begin
It is assumed that one or more servers have been created and are running
on the node, that the Performance Monitoring Infrastructure (PMI) is enabled,
and that the service component event points that you wish to monitor have
been invoked at least once so that they can be selected from within the viewer.
Why and when to perform this task
The Tivoli® Performance
Viewer (TPV) is a powerful application that allows you view a variety of details
of all aspects of the performance of your process server. The section entitled
"Monitoring performance with Tivoli Performance Viewer" in the WebSphere Application Server Version 6.0
Information Center contains details on how to use this tool for a
variety of purposes, and you should consult this resource for complete instructions
on using this program. This section will be limited to discussing the viewing
of performance data for WebSphere® Process Server-specific events.
The
performance viewer enables administrators and programmers to monitor the current
health of WebSphere Process Server. Because the collection and viewing of
data occurs on the process server, performance is affected. To minimize performance
impacts, monitor only those servers whose activity you want to monitor.
- View current performance activity
- Click Monitoring and Tuning > Performance Viewer
> Current Activity in the administrative console navigation tree.
- Select Server, and click the name of
the server whose activity you want to monitor. You can alternatively
select the check box for the server whose activity you want to monitor, and
click Start Monitoring. To start monitoring multiple
servers at the same time, select the servers and click Start Monitoring.
- Select Performance Modules.
- Place a check mark in the check box beside the name of each
performance module that you want to view. All process server-specific
events that emit performance statistics, and that have been invoked at least
once, are listed under the WBIStats.RootGroup hierarchy. Expand the
tree by clicking + next to a node and shrink it by clicking – next
to a node.
- Click on View Modules. A chart or table
providing the requested data is displayed on the right side of the page. Charts
are displayed by default.
Each module has several counters associated with
it. These counters are displayed in a table underneath the data chart or table.
Selected counters are displayed in the chart or table. You can add or remove
counters from the chart or table by selecting or deselecting the check box
next to them. By default, the first three counters for each module are shown.
You
can select up to 20 counters and display them in the TPV in the Current
Activity mode.
- Optional: To remove a module from a chart or table,
deselect the check box next to the module and click View Modules again.
- Optional: To view the data in a table, click View
Table on the counter selection table. To toggle back to a
chart, click View Graph.
- Optional: To view the legend for a chart, click Show
Legend. To hide the legend, click Hide Legend.
- When you have finished monitoring the performance of your events,
click on Tivoli Performance Viewer, select the server
you were monitoring, and click Stop Monitoring.
- Log performance statistics
While monitoring
is active on a server, you can log the data from all the PMI counters that
are currently enabled and record the results in a TPV log file. You can view
the TPV log file for a particular time period multiple times, selecting different
combinations of up to 20 counters each time. You have the flexibility to observe
the relationships among different performance measures in the server during
a particular period of time.
- Click on Start Logging when viewing summary
reports or performance modules.
- When finished, click Stop Logging. By default, the log files are stored in the install_root/profiles/profile_name/logs/tpv directory
on the node on which the server is running. The TPV automatically compresses
the log file when it finishes writing to it to conserve space. At this point,
there must only be a single log file in each zipped file and it must have
the same name as the zipped file.
- Click Monitoring and Tuning > Performance Viewer
> View Logs in the administrative console navigation tree to view
the logs