Launching an Agent

Launch the agent by clicking on the Profile button. This will instantiate an instance of the PerfMon agent in the profiling monitor:

attached PerfmonAgent in profiling monitor

It is not yet monitoring hence the <attached tag>. To start monitoring, right-click on the PerfmonAgent node and select Start Monitoring from the pop-up menu:

pop-up menu Start Monitoring item selected

The Perfmon agent node will now have the tag  <monitoring> rather than<attached>as a tag:

monitoring PerfmonAgent

Linking the Views

At this point we need to populate the various views by clicking on the Link With Viewer button in the toolbar. To do this, as explained earlier, click on the Link With Viewer  button in the toolbar:

Link with viewer icon

The Agent Control View

When the PerfMon agent is instantiated an entry corresponding to it is placed in the Agent Control view:

Agent Control view with PerfmonAgent

That entry will subsequently be used to control the PerfMon agent. When the agent is monitoring, open up this entry (click on the '+' prefixing the agent node). This will result in the top-level entries in the hierarchy of PerfMon performance objects being displayed:

Top-level entries of PerfMon performance objects

Scroll down to find the particular performance object(s) that you're interested in and open them (click on the '+') to obtain lower-level details. For example, for the Processor performance object, open it, then open its Total child node, and then check the check box associated with Processor Time:

The Statistical Summaries View

In the statistical summaries view, select similarly the Processor Time metric. Notice that there is an entity 'Observation' immediately below it.

This entry effectively defines what will appear in the Statistical Graph View and how it will be displayed. You can set the line color and width, and define which scale (Horizontal or Vertical) the line graph is to be displayed against. To change these settings, click on the field holding the value, and choose from ether a down-arrow symbol or an ellipsis. For the former, either type the required value in directly or select from the drop-down list. For the latter, which applies to the Color property, select the new color from the displayed palette.

The check box to the immediate left of Observation makes the graph visible in the statistical graph view if it's checked, not visible otherwise.

The Statistical Graph View

To view the performance data in the statistical graph view, right-click on the Horizontal 1 scale and select Snap to Associated Graphs from the pop-up menu.

pop-up menu

This will synchronize the graph scaling with the timing of the performance data so that the performance data will be viewable, as below:

line graph associated graph

(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.