Monitoring Object Statistics
You can monitor object statistics as an application runs. By doing so, you can fine-tune the object pool characteristics to achieve the balance in performance and resources that you would like to have.
You can monitor status for any objects that are configured to support object statistics and event reporting. Enabling object statistics has a very slight performance overhead.
To enable object statistics
In the details pane of the Component Services administrative tool, right-click the component that you want to configure and then click Properties.
In the component properties dialog box, click the Activation tab.
To enable object statistics for the component, under Activation Context, select the Component supports events and statistics check box.
To monitor object status
In the console tree of the Component Services administrative tool, open the folder for the application that includes the components you want to monitor.
Right-click the Components folder, point to View, and then click Status View. The details pane now displays the status view for all components in the application. The following table describes the six columns in the status view.
Column Description ProgID Identifies a specific component. Objects Shows the number of objects that are currently held by client references. Activated Shows the number of objects that are currently activated. Pooled Shows the total number of objects created by the pool, including objects that are in use and objects that are deactivated. In Call Identifies objects in call. Call Time (ms) Shows the average call duration (in milliseconds) of method calls made in the last 20 seconds (up to 20 calls). Call time is measured at the object and does not include the time used to traverse the network.