Perfmon

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

Perfmon

Allows you to open a Performance console configured with the System Monitor ActiveX control and the Performance Logs and Alerts service snap-in.

Syntax

perfmon.exe [FileName] [**/HTMLFILE:**ConvertedFile SettingsFile]

Parameters
  • .exe
    Specifies the name of the file extension.
  • FileName
    Specifies the name of the settings file.
  • /HTMLFILE: ConvertedFile SettingsFile
    Specifies the name of the converted files, and the name of the original Windows NT 4.0 settings file.
Remarks
  • This procedure works for the following types of Windows NT 4.0 version of Performance Monitor settings files: chart (.pmc), report (.pmr), alert (.pma), and log (.pml).

  • To display the Windows NT 4.0 settings file in System Monitor, the system temporarily converts the file for use with Windows XP and the Windows Server 2003 family versions of System Monitor, then discards the converted version after the console starts. If you want to save the settings file for permanent use with System Monitor, type:

    Perfmon [FileName] [**/HTMLFILE:**ConvertedFileSettingsFile]

    Where **/HTMLFILE:**ConvertedFile is the name given to the converted file and SettingsFile is the name of the original Windows NT 4.0 settings file.

  • For more information about incorporating Perfmon into your Windows Management Instrumentation (WMI) scripts, see "Scripting WMI" at the Microsoft Windows Resource Kits Web site.

Examples

To list your settings file, type:

Perfmon myfile_overview

To list converted and original file names, type:

Perfmon myfile_overview /Commands:newfile_review oldfile_sample.pml

Formatting legend

Format Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

See Also

Concepts

Use a Windows NT Server 4.0 Performance Monitor settings file
New ways to do familiar performance monitoring tasks
Understanding the Performance console
Command-line reference A-Z
Command shell overview