【监控实践】【4.2】perfmon监控性能计数器(基于typeperf命令)
2024-10-03 19:55:26
关键词:typeperf
typeperf 命令
使用示例:
案例1:#使用typeperf收集windows cpu、内存、硬盘性能
#使用typeperf收集windows cpu、内存、硬盘性能 实验环境:windows ##、新建配置文件:win.perf.txt 拷贝如下内容到文件,保存,退出: \Processor(_Total)\% Processor Time \Memory\Available MBytes \Memory\% Committed Bytes In Use \Memory\Page Faults/sec \PhysicalDisk(_Total)\% Disk Time \PhysicalDisk(_Total)\Avg. Disk Queue Length \PhysicalDisk(_Total)\Avg. Disk Bytes/Transfer ##、命令执行 打开cmd,执行如下命令,每2秒打印一次性能信息: typeperf 输出类型如下内容:其中第一列为时间列,其他每列对应文件 win.perf.txt 中的每一行信息: " ::47.062","2.939277","11278.000000","70.250212","3020.376738","7.280620","0.145612","8274.285714" " ::49.062","2.555335","11278.000000","70.250272","3277.267665","9.752500","0.195050","7429.019608" " ::51.062","2.571615","11278.000000","70.250129","3006.032447","7.872500","0.157450","8997.770492" 参考:
https://blog.csdn.net/oscar999/article/details/7918385
https://blog.csdn.net/chengzhezhijian/article/details/51142783
http://blog.sina.com.cn/s/blog_62079f620101b48k.html
https://blog.csdn.net/yenange/article/details/50905412
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb490960(v=technet.10)
案例2:
最新文章
- java函数
- 第一章:Android系统移植与驱动开发概述
- 如何在 Apache 中为你的网站设置404页面
- yii2.0框架安装心得
- WEB项目后端跨域请求
- 【MVC】ASP.NET MVC 请求生命周期
- ValueError: Attempted relative import in non-package
- easyui源码翻译1.32--ValidateBox(验证框)
- HTML的标签使用
- 微信小程序跳转页面
- c++简单编写线性表(实验)
- Docker(二):Dockerfile 使用介绍
- android studio gradle 更新方法。
- 在Linux搭建Git服务器
- LOJ.6160.[美团CodeM初赛 RoundA]二分图染色(容斥 组合)
- Android为TV端助力 运算符&;,|,^
- [js] 渲染树构建、布局及绘制
- ORA-16038: log 3 sequence# 103 cannot be archived
- Java:多线程,Semaphore同步器
- [py]彻底细究web框架的wsgi+逻辑处理模块