CPU 使用率の合計

Microsoft.Windows.Server.2003.OperatingSystem.TotalCPUUtilization (UnitMonitor)

Processor\\% Processor Time\_Total and the System\Processor Queue Length パフォーマンス カウンターと関連付けて、このサーバーの CPU 使用率の合計を監視します。

Knowledge Base article:

概要

システム プロセッサの CPU 使用率 (Processor\% Processor Time\_Total と System\Processor Queue Length) がしきい値を超えました。 しきい値を超えると、システム全体のパフォーマンスが著しく低下する可能性があります。その場合は、オペレーティング システムとアプリケーションのパフォーマンスが低下します。

構成

Total CPU Utilization 監視ルーチンは、オペレーターが System\Processor Queue と Processor\% Processor Time\_Total パフォーマンス カウンターの両方のしきい値を設定できるなど、高度な構成が可能なソリューションです。 複数のサンプルで連続して、両方のカウンターの値が定義されたしきい値を超えた場合は、そのモニターの状態変更が発生します。 また、しきい値の超過が特定の回数連続してサンプリングされた場合に状態を変更するように構成することも可能です。

Total CPU Utilization 監視ルーチンの既定のしきい値は、次のとおりです。

パラメーター

既定値

CPUQueueLengthThreshold

15

CPUPercentageThreshold

95

NumSamples

5

上記で定義されているしきい値は、上書き操作で変更できます。

原因

持続期間にコンピューターにかかる負荷が大きい場合、次のいずれかの条件によって引き起こされている可能性があります。

解決方法

プロセッサ関連のパフォーマンス カウンターの最近の履歴を見るには、次の表示を使用できます。

プロセッサ パフォーマンス ビューの起動

この問題を解決するには、管理者は次のタスクを実行できます。

1. サーバー上で実行されている各プロセッサの % Processor Utilization カウンターを評価します。 これは、[タスク マネージャー] または [パフォーマンス モニター] スナップインを使用して行うことができます。リソースを最も多く消費しているプロセスを特定し、消費リソースが正常なパフォーマンス範囲に戻るかどうかを一定期間にわたってモニターします。 戻らない場合は、アプリケーション固有の診断を行い、問題を解決する最も適切な方法を特定します。

2. クライアントの負荷が時間の経過とともに増大し、コンピューターが単純に要求を処理できなくなったことが原因の場合は、基本的なハードウェアのアップグレードでコンピューターを最適なパフォーマンス範囲に戻すことができるかどうかを判断するために、パフォーマンスの監視手順を実行します。

3. 製品の欠陥などによってアプリケーションが異常な状態になったと判断した場合は、アプリケーションを再起動する必要があります。 問題が解決されない場合は、アプリケーション ベンダーに問い合わせる必要があります。

Element properties:

TargetMicrosoft.Windows.Server.2003.OperatingSystem
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.2003.CPUUtilization.Monitortype
RemotableTrue
AccessibilityPublic
Alert Message
CPU 使用率の合計が高すぎます
Processor\\% Processor Time\_Total パフォーマンス カウンターがしきい値を超えています。しきい値を超えた値は次のとおりです。 {0}\% CPU および {1} のプロセッサ キューの長さ。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2003.OperatingSystem.TotalCPUUtilization" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.2003.OperatingSystem" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.Server.2003.CPUUtilization.Monitortype" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2003.OperatingSystem.TotalCPUUtilization.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='PctUsage']$</AlertParameter1>
<AlertParameter2>$Data/Context/Property[@Name='QueueLength']$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="OverThreshold" MonitorTypeStateID="CPUUtilizationHigh" HealthState="Error"/>
<OperationalState ID="UnderThreshold" MonitorTypeStateID="CPUUtilizationNormal" HealthState="Success"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>300</IntervalSeconds>
<TimeoutSeconds>100</TimeoutSeconds>
<TargetComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</TargetComputerName>
<CPUPercentageThreshold>95</CPUPercentageThreshold>
<CPUQueueLengthThreshold>15</CPUQueueLengthThreshold>
<NumSamples>3</NumSamples>
<CounterName>% Processor Time</CounterName>
<ObjectName>Processor</ObjectName>
<InstanceName>_Total</InstanceName>
<AllInstances>false</AllInstances>
</Configuration>
</UnitMonitor>