加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – Windows中通过WMI提供的“load average”最接近的等价

发布时间:2020-12-13 18:07:24 所属栏目:Linux 来源:网络整理
导读: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 proce
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提供.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读