收集windows系统性能统计数据
2014-08-29 16:36
260 查看
在cmd窗口输入
typeperf "\Processor(_Total)\% Privileged Time" "\Processor(_Total)\% User Time"也可以将下面的三个命令写到c:\cpu-util.txt里。
\Processor(_Total)\% User Time \Processor(_Total)\% Privileged Time \Processor(_Total)\% Processor Time然后在命令行里执行
typeperf -cf cpu-util.txt
"(PDH-CSV 4.0)","\\3-PC\Processor(_Total)\% User Time","\\3- "08/29/2014 16:49:15.101","1.947951","1.558362","3.771113" "08/29/2014 16:49:16.102","0.389598","2.337539","2.991947" "08/29/2014 16:49:17.103","0.779176","2.727137","3.771113" "08/29/2014 16:49:18.104","1.558362","2.727137","4.550309" "08/29/2014 16:49:19.105","0.389588","3.895901","2.991937" "08/29/2014 16:49:20.116","1.542948","1.928693","4.722945" "08/29/2014 16:49:21.118","0.778409","2.724405","2.310347" "08/29/2014 16:49:22.120","1.946006","4.281222","6.591569" "08/29/2014 16:49:23.123","0.000000","1.553706","2.116522" "08/29/2014 16:49:24.125","0.389588","3.116725","3.771123" "08/29/2014 16:49:25.126","0.389209","0.778409","0.000000" "08/29/2014 16:49:26.128","0.779176","2.727127","3.771123" "08/29/2014 16:49:27.129","1.558362","1.558362","3.381525"第一行是数据的报头。 typeperf报告间隔为1秒。该报告间隔可以使用-si选项被改变。 -si选项接受形式[MM:] SS其中MM:是可选分钟,ss是秒数。如:
typeperf -cf c:\cpu-util.txt -si ss:5更多信息:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/nt_command_typeperf.mspx?mfr=true
相关文章推荐
- Oracle 性能优化 — 统计数据收集[Z]
- 基于dropwizard/metrics ,kafka,zabbix构建应用统计数据收集展示系统
- Windows系统CPU内存网络性能统计第二篇 CPU CPU整体使用率
- Windows系统CPU内存网络性能统计第四篇 CPU 多核CPU各核使用率C++
- 基于dropwizard/metrics ,kafka,zabbix构建应用统计数据收集展示系统
- Windows系统CPU内存网络性能统计第一篇 内存
- Windows系统CPU内存网络性能统计第一篇 内存
- 人工智能系统通过网络提高其性能 “信息提取”系统转换纯文本为可以统计分析的数据
- Windows性能监视器如何创建数据收集器?
- Windows系统CPU内存网络性能统计第三篇 CPU 多核CPU各核使用率C#
- Windows系统CPU内存网络性能统计第四篇 CPU 多核CPU各核使用率C++
- Oracle 性能优化 — 统计数据收集
- 收集系统性能数据并通过gnuplot绘图
- 重装windows系统备份重要数据全攻略
- Linux服务器性能数据收集 - Sysstat介绍
- Windows Linux Unix 系统的兼容性能与操作系统之间的相对比较
- Linux服务器性能数据收集—Sysstat介绍。
- Linux服务器性能数据收集 - Sysstat介绍
- 优化 Java 垃圾收集器改进系统性能
- 重装windows系统备份重要数据全攻略