Performance Monitor简单了解 我就是我 2021-06-24 16:11 419阅读 0赞 推荐教程: [https://www.cnblogs.com/ljhdo/archive/2016/09/22/5061561.html][https_www.cnblogs.com_ljhdo_archive_2016_09_22_5061561.html] [https://www.aliyun.com/jiaocheng/920076.html][https_www.aliyun.com_jiaocheng_920076.html] #### 监控进程,线程资源使用情况,可直观图实时显示,也可将结果进行记录。 #### #### 简介 #### Performance Monitor是Windows内置的一个可视化监控工具,能够在OS级别上实时记录系统资源的使用情况,通过收集和存储日志数据,在SQL Server发生异常时,能够还原系统当时的资源的使用情况,是对SQL Server进行Troubleshooting的首选工具。Performance Monitor使用Performance Counter来追踪系统的活动状态的测量值,取样间隔默认是15s,即,Performance Monitor每隔15s,记录Performance Counter的当前值。 Performance Monitor主要有两个组件:Viewer和Data Collector,分别用于查看和记录Performance Counter的测量值,开启Performance Monitor对Server的影响很微小,建议开启,多收集一些性能数据。 ![2789632-4d4397a7feedff3e.png][] 在计数器里,可以看到我们可以添加很多选项,当不清楚某个计数器的作用时,可以勾选显示描述,通过描述来了解每个计数器的作用。 ![2789632-bf3bef51a5cff78b.png][] #### 简单使用实例,实时记录,不保存log日志: #### 自己电脑的内核数量, 8: 记录处理的C1性能: % C1 Time 是处理器处于 C1 低能量空闲状态下的时间百分比。% C1 Time 是处理器空闲总时间的一个子集。C1 低能量空闲状态允许处理器保持其整个环境并快速返回运行状态。不是所有的系统都支持 % C1 状态。 ![2789632-56dee1a5db82264e.png][] ![2789632-668bc6da5ddff21a.png][] #### 常用指标: #### 系统级别指标:Processor Time(另加各个核的记录)、Pages/sec、Available Bytes、% Disk Time、Avg.Disk Queue Length、Total/sec 、Disk Read Time、Disk Write Time、Time in GC、Large Object Heap Size 进程级别指标:%processor time、IO Read bytes/sec、IO Write bytes/sec、Thread Count、Time in GC、Large Object Heap Size、Gen 1 collections、 Gen 2 collections、 Gen 0 collections、 bytes in all heaps ![2789632-3d400082479b7fca.png][] [https_www.cnblogs.com_ljhdo_archive_2016_09_22_5061561.html]: https://www.cnblogs.com/ljhdo/archive/2016/09/22/5061561.html [https_www.aliyun.com_jiaocheng_920076.html]: https://www.aliyun.com/jiaocheng/920076.html [2789632-4d4397a7feedff3e.png]: /images/20210615/b51209edc28d4f449909e7f19212054a.png [2789632-bf3bef51a5cff78b.png]: /images/20210615/23dc386eb0f3433792037f348f37d2a5.png [2789632-56dee1a5db82264e.png]: /images/20210615/301459fb743a4c78990ce4dd248036ba.png [2789632-668bc6da5ddff21a.png]: /images/20210615/2b5b68fb318c41e7bdc39e213b14469d.png [2789632-3d400082479b7fca.png]: /images/20210615/d814a7d1643c41618991e8cf96b26df9.png
还没有评论,来说两句吧...