Software >> OS >> Windows >> Perfmon >> How to create perfmon logging using command line


Logman.exe create counter SomePerfLog -f bincirc  -max 2048 -c  "\Memory\*" "\Paging File(*)\*" "\PhysicalDisk(*)\*"  "\Server\*" "\System\*" "\Process(*)\*" "\Processor(*)\*" -si 00:01:00 -o  C:\PerfMonLogs\SomePerfLog.blg


To start:-

Logman start SomePerfLog


How to stop:-

Logman stop SomePerfLog