在本地计算机上抓取性能信息
Logman.exe create counter Perf-1Second -f bincirc -max 500 -c "Processor(*)\% Processor Time" "PhysicalDisk(*)Avg. Disk Bytes/Write" "PhysicalDisk(*)Current Disk Queue Length" -si 00:00:01 -o e:isotestperfmon.blg
Logman.exe start Perf-1Second
Logman.exe stop Perf-1Second
在远程计算机上创建性能计数器抓取性能信息
Logman.exe create counter Perf-1Second -f bincirc -max 500 -b 2014-05-20 14:29 -e 2014-05-20 14:30 -y -s 192.168.1.1 -c "Processor(*)\% Processor Time" "MemoryAvailable MBytes" "PhysicalDisk(*)Disk Bytes/sec" "Network Interface(*)Bytes Total/sec" -si 00:00:01 -a -o d:perfperfmon.blg
在本机上抓取远程计算机的性能信息
Logman.exe create counter Perf-1Second -f bincirc -max 500 -b 2014-05-20 14:29 -e 2014-05-20 14:30 -y -c "\192.168.1.1Processor(*)\% Processor Time" "\192.168.1.1MemoryAvailable MBytes" "\192.168.1.1PhysicalDisk(*)Disk Bytes/sec" "\192.168.1.1Network Interface(*)Bytes Total/sec" -si 00:00:01 -a -o d:perfperfmon.blg -u administrator pass