zoukankan      html  css  js  c++  java
  • 创建性能监视器(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: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

  • 相关阅读:
    【洛谷P1330】封锁阳光大学
    【洛谷P1087】FBI树
    hdu 4504(动态规划)
    hdu 4503(数学,概率)
    hdu 5400(思路题)
    hdu 5701(区间查询思路题)
    hdu 4502(DP)
    hdu 1401(单广各种卡的搜索题||双广秒速)
    hdu 1258(DFS)
    hdu 1254(搜索题)
  • 原文地址:https://www.cnblogs.com/dreamer-fish/p/3492507.html
Copyright © 2011-2022 走看看