linux – Windows中通过WMI提供的“load average”最接近的等价物是什么?

linux – Windows中通过WMI提供的“load average”最接近的等价物是什么?,第1张

概述Linux有一个Load Average概念,定义如下: System load averages is the average number of processes that are either in a runnable or uninterruptable state. A process in a runnable state is either using the CPU or wa Linux有一个Load Average概念,定义如下:

System load averages is the average number of processes that are either in a runnable or uninterruptable state. A process in a runnable state is either using the cpu or waiting to use the cpu. A process in uninterruptable state is waiting for some I/O access,eg waiting for disk. The averages are taken over the three time intervals. Load averages are not normalized for the number of cpus in a system,so a load average of 1 means a single cpu system is loaded all the time while on a 4 cpu system it means it was IDle 75% of the time.

通过WMI提供的最接近的等效物是多少?从根本上说,两个 *** 作系统之间是否存在差异,这些差异决定了应该如何衡量这种绩效指标?有什么区别?

解决方法 系统性能计数器对象的进程队列长度计数为:

Processor Queue Length is the number of threads in the processor queue[…]

此值在WMI中通过Win32_PerfFormattedData_PerfOS_System提供.

总结

以上是内存溢出为你收集整理的linux – Windows中通过WMI提供的“load average”最接近的等价物是什么?全部内容,希望文章能够帮你解决linux – Windows中通过WMI提供的“load average”最接近的等价物是什么?所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/1043365.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-24
下一篇 2022-05-24

发表评论

登录后才能评论

评论列表(0条)

保存