CPU 使用率百分比

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

監視 CPU (處理器資訊) 總使用率。

Knowledge Base article:

摘要

系統處理器的 CPU Utilization (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>