WMIC命令输出的CPU利用率 [英] WMIC command output for CPU utilisation
问题描述
当我跑到下面的命令来获得整体的服务器CPU利用率的2倍成一排,这表明28%和99%。
我检查在任务管理器两次 - 性能/过程和发现过程中使用卡99%的CPU由系统空闲进程
WMIC CPU得到的LoadPercentage /值
现在的问题是:
- 上面是否WMIC命令show CPU利用率,包括空闲进程使用过,如果是这样的话,那么为什么它没有表现出99%,当我第一次检查时间。我可以看到仍然空闲进程使用99%的CPU?
- 为什么它显示99%的CPU第二次,而所有的CPU是使用空闲只处理?
空闲进程没有得计总负荷,否则那就要传真报告99%(如果你所有的程序需要你的CPU,另外50%的50%在空闲进程占用)。有可能是正在运行或在CPU初始化WMIC放负荷另一个程序。
When I ran below command to get overall server CPU utilization 2 times in a row, it showed 28% and 99%. I checked both times in Task Manager--Performance/Processes and found that in processes tab 99% CPU was used by "system idle processes".
wmic cpu get LoadPercentage /value
Now the questions are:
- Does above wmic command show CPU utilization including idle processes usage too, if that is the case then why it didn’t show 99% when I checked 1st time .I can see still idle processes use 99% CPU?
- Why did It show 99% CPU 2nd time while all the CPU was used by Idle processes only?
Idle process is not counted towards total load or else it would have to allways report 99% (if all your programs need 50% of your cpu the other 50% are occupied by the idle process). There probably was another program running or initializing wmic put load on the cpu.
这篇关于WMIC命令输出的CPU利用率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!