Compartilhar via


Collect performance data using WMI

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To collect performance data using WMI

  • Open Command Prompt and type:

  • perfmon.exe /wmi

Notes

  • To perform this procedure, you must be a member of the Administrators group, the Performance Log Users group, or the Performance Monitor Users group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure. For more information, see Default local groups, Default groups, and Using Run as.

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • When this option is specified, the program obtains performance data by means of Windows Management Instrumentation (WMI) instead of the registry. WMI Hi-Perf providers can then expose performance counters, which in turn appear in System Monitor or are logged by the Performance Logs and Alerts Service. For Windows XP and the Windows Server 2003 family, all WMI counters now appear through the use of a reverse adapter regardless of whether you use the /wmi option.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Use a Windows NT Server 4.0 Performance Monitor settings file
Perfmon