Dos - Logman Utility

> Procedural Languages > Dos (Win32 Shell Scripting) and Utilities

1 - About

Trace, counter, alert, cfg data collector

logman /?
Advertising

3 - Perfcounter

Perfcounter can be collected with the following switch:

Options (counter):
  -c <path [path [...]]>        Performance counters to collect.
  -cf <filename>                File listing performance counters to collect, one per line.
  -f <bin|bincirc|csv|tsv|sql>  Specifies the log format for the data collector. For SQL database format, you must use the -o option in
                                the command line with the DNS!log option. The defaults is binary.
  -sc <value>                   Maximum number of samples to collect with a performance counter data collector.
  -si <[[hh:]mm:]ss>            Sample interval for performance counter data collectors.