Microsoft KB Archive/813156

= HOW TO: Capture Performance Data from a Remote Windows 2000-Based Computer by Using Performance Monitor =

PSS ID Number: 813156

Article Last Modified on 6/6/2003

-

The information in this article applies to:


 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional
 * Microsoft Windows 2000 Server

-



Table of Contents

 * SUMMARY
 * MORE INFORMATION
 * Create the Performance Monitor Log
 * View the Performance Monitor Log



SUMMARY
This article describes how to capture performance data from a remote Windows 2000-based computer by using the version of Performance Monitor that is included with the Windows 2000 Resource Kit, or with Microsoft Windows NT 4.0. back to the top



MORE INFORMATION
The System Monitor tool that is included with Windows 2000 is the administrative tool that replaces the Performance Monitor tool that is included with Windows NT 4.0. However, you may find that in some circumstances one tool may be better than the other.

For additional information about how to capture performance data from a remote Windows 2000-based computer by using System Monitor, click the following article number to view the article in the Microsoft Knowledge Base:

811237 HOW TO: Capture Performance Data from a Remote Windows 2000 Computer using System Monitor

Create the Performance Monitor Log
To capture performance data from a remote Windows 2000-based computer, you must set the Performance Logs and Alerts service on the computer that is running Performance Monitor to start using an account that has administrative rights on the computer that is being monitored.

To create a system log, follow these steps:  Start Performance Monitor. To do so, double-click the Perfmon4.exe file.

Note The Windows 2000 Resource Kit installs the Perfmon.exe file in the following location:

C:\Program Files\Resource Kit

 On the View menu, click Log. On the Edit menu, click Add To Log. In the Add To Log dialog box, type the name of the computer that you want to monitor in the Computer box. For example, type \\ . In the Objects list, click the first object in the list, press and hold down the SHIFT key, and then click the last object in the list. You must select all objects that are in the list. Click Add, and then click Done.

If you do not want to log all objects, at least log all the following objects:  Database Memory</li> Thread</li> Objects</li> Network interface</li> Paging File</li> Process</li> Processor</li> Server</li> System</li> Server Work Queues</li> Physical disk</li> Logical Disk counters</li></ul>

If you are monitoring a Microsoft Exchange Server, add all Exchange Server-related object counters.

Note By default, Logical Disk counters are disabled in Windows 2000. By default, both Physical and Logical Disk counters are disabled in Windows NT 4.0.</li> Enable Disk counters. To do so, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type diskperf –Y in the Open box, and then click OK.</li> Restart the computer to enable the counters.</li> To disable Disk counters after you complete troubleshooting, click Start, click Run, type diskperf –N in the Open box, and then click OK.</li> <li>Restart the computer.</li></ol> </li> <li>On the Options menu, click Log.</li> <li>In the File name box, type a name for the log.</li> <li>At the bottom of the Log Options window, set the log update intervals. Use the following chart to determine the appropriate settings:

For example, if the issue occurs approximately every week, type 900 in the Interval box to set a 15 minute interval, and then click Start Log to start logging.</li> <li>When you have collected enough data, on the Options menu, click Log, and then click Stop Log.</li></ol>

back to the top

View the Performance Monitor Log
After the logging process is complete, you can use Performance Monitor to view and analyze the performance data in the Counter Log file.

To retrieve and view the collected performance data from the Counter Log file, follow these steps:
 * 1) On the Options menu, click Log, and then click Stop Log.
 * 2) On the Options menu, click Data from, and then click Log File.
 * 3) Click the Ellipses button (…), double-click your log file, and then click OK. Notes You cannot use the Open command on the File menu to open a log file.
 * 4) On the View menu, click Chart.
 * 5) Click the Add button on the toolbar, select the object that you want to view, and then click Add to confirm each selection.
 * 6) When you are finished, click Done.