Perfexp.exe /COMMANDFILE:<CmdFile>
The command file is designated for batch operation.
The structure of the XML file to use as a command file consists of a root node called PerfExpCommandFile and two optional sub-nodes called OverviewReport and Command.
Specifies whether Performance Explorer launches visibly or invisibly.
Specifies the name and location of the log file.
Different Command and OverviewReport nodes can reside below the root node.
Specifies which .tsd file to use. If omitted, the last file loaded by Performance Explorer is used.
Specifies an optional template OVT file to use for the overview report.
The text of a Command node is interpreted as a command line parameter. Nodes are executed sequentially.
The following code shows an XML command file:
<?xml version="1.0" encoding="UTF-8" ?> <PerfExpCommandFile NoGui="True" LogFile="c:\TEMP\Results\PerfExp.log"> <OverviewReport File="c:\TEMP\Results\m@host@Simple.tsd" Export="c:\TEMP\Results\Simple.mht" /> <Command>PEW:"c:\test.pew"</Command> <Command>SINGLEINSTANCE</Command> <Command>ACTION:STARTALLMONITORS</Command> <Command>EXIT</Command> </PerfExpCommandFile>
Perfexp.exe /?
Performance Explorer opens and displays the command line help.