This is example contents of a performance log config file.
You can set the log to run using command like:
logman -config FILE
[counter]
windows-monitor
[-v]
mmddhhmm
[-si]
00:00:30
[-f]
csv
[-c]
\Processor(_Total)\% Processor Time
\Memory\Available Bytes
\Memory\Cache Bytes
\Memory\Committed Bytes
\Memory\Pages/sec
\Memory\Page Faults/sec
\Memory\Pool Nonpaged Bytes
\LogicalDisk(*)\% Free Space
\LogicalDisk(*)\% Disk Time
\LogicalDisk(_Total)\Avg. Disk Bytes/Transfer
\LogicalDisk(_Total)\Avg. Disk Queue Length
\Network Interface(*)\Bytes Total/sec
\Paging File(_Total)\% Usage
\System\Context Switches/sec
\System\Processor Queue Length
[-o]
c:\perflogs\windows-monitor
logman, performance monitoring, perfmon