CPU 使用率百分比

Microsoft.Windows.Server.10.0.Processor.CPUUtilization (UnitMonitor)

监视总 CPU (处理器信息)使用率。

Knowledge Base article:

摘要

系统处理器的 CPU l利用率(Processor Information\% Processor Time)超过了阈值。一旦超出了阈值,总体系统性能将显著降低,并导致操作系统和应用程序性能较差。

原因

由于以下任一情况,导致计算机连续承受繁重的负荷:

解决方法

要查看与处理器相关的性能计数器,可使用以下视图:

启动处理器性能视图

若要解决此问题,管理员可以执行下列任务:

1. 为在服务器上运行的每个进程评估 % Processor Utilization 计数器。可以通过使用任务管理器或“性能监视”管理单元执行此操作。确定哪个(些)进程消耗最多的资源,并在一段时间内监视这些进程以确定它们是否可能返回到正常的性能范围。如果不能,则应该执行附加的应用程序特定诊断,以确定解决此问题的最佳方式。

2. 如果确定客户端负荷随着时间的变化而增加,计算机的确不再满足要求,则执行其他性能监视过程,以确定基本硬件升级是否可以使计算机返回到最佳的性能范围。

3. 如果已确定应用程序进入不正常状态,则可能由于产品缺陷,或许需要重新启动该应用程序。如果问题仍然存在,你可能需要联系应用程序供应商。

Element properties:

TargetMicrosoft.Windows.Server.10.0.Processor
Parent MonitorMicrosoft.Windows.Server.10.0.Processor.PerformanceRollup
CategoryPerformanceHealth
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.10.0.Processor.Monitortype
RemotableTrue
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.10.0.Processor.CPUUtilization" Accessibility="Public" Enabled="true" Target="ServervNext!Microsoft.Windows.Server.10.0.Processor" ParentMonitorID="Microsoft.Windows.Server.10.0.Processor.PerformanceRollup" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.Server.10.0.Processor.Monitortype" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<OperationalStates>
<OperationalState ID="OverThreshold" MonitorTypeStateID="OverThreshold" HealthState="Error"/>
<OperationalState ID="UnderThreshold" MonitorTypeStateID="UnderThreshold" HealthState="Success"/>
</OperationalStates>
<Configuration>
<CounterName>% Processor Time</CounterName>
<ObjectName>Processor</ObjectName>
<InstanceName>$Target/Property[Type="WindowsServer!Microsoft.Windows.Server.Processor"]/PerfmonInstance$</InstanceName>
<Frequency>120</Frequency>
<Threshold>95</Threshold>
<NumSamples>5</NumSamples>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>