Saturday, June 5, 2010

How to get faster access to performance data using command line options

Now, we’re going to discuss about the options that give greater control of Perfmon.exe directly from the command-line:
The main thing you’ve to remember is these commands are used with the Perfmon.exe but not with the Perfmon.msc.

perfmon /rel you can use this to review your Computer’s reliability and problem history (the same result as right-clicking the Monitoring Tools node in Performance Monitor and selecting View System Reliability).

perfmon /report This command collects performance data for 60 seconds. At the same time, it is able to generate and display a system diagnostics report.

perfmon /res This command is able to open the Resource Monitor (the same result as right-clicking the Monitoring Tools node in Performance Monitor and selecting Resource Monitor).

perfmon /sys You can use this command to open the Performance Monitor in stand-alone mode (the Sysmon.ocx ActiveX control).
At the same time, you can use an additional option, /comp, which lets you compare overlay between two open instances of the Performance Monitor.

By