创建性能监视器(logman)

在本地计算机上抓取性能信息

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:\isotest\perfmon.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" "\Memory\Available MBytes" "\PhysicalDisk(*)\Disk Bytes/sec" "\Network Interface(*)\Bytes Total/sec" -si 00:00:01 -a -o d:\perf\perfmon.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.1\Processor(*)\% Processor Time" "\\192.168.1.1\Memory\Available MBytes" "\\192.168.1.1\PhysicalDisk(*)\Disk Bytes/sec" "\\192.168.1.1\Network Interface(*)\Bytes Total/sec" -si 00:00:01 -a -o d:\perf\perfmon.blg -u administrator pass

posted on 2013-12-26 15:19  momingliu11  阅读(1017)  评论(0编辑  收藏  举报