プロセッサ時間の割合

Microsoft.Linux.SLES.9.Processor.PercentProcessorTime.Monitor (UnitMonitor)

SUSE Linux Enterprise Server 9 プロセッサ時間の割合モニター

Knowledge Base article:

概要

(1 つのプロセッサの) プロセッサ時間の割合が高くなっています。システムのパフォーマンスに悪影響を与える可能性があります。

プロセッサ時間は、1 つのプロセッサが非アイドルのスレッドを実行するために使用した時間です。各プロセッサには、実行するスレッドが他にない場合にサイクルを消費するアイドル状態のスレッドがあります。この指標は、プロセッサの稼働状況を示すプライマリ インジケーターで、ビジー時間の平均割合をパーセンテージで示します。

モニターのしきい値は、エージェントへのポーリングで返された値の平均値を基準として分析されます。ここで [サンプル数] パラメーターは、平均値の計算に使用されるサンプルの数を制御します。エージェントによって返される値は、1 分間隔で照会された最新の 5 つの値のローリング平均値です。

構成

個々のディスクの監視は、既定では無効になっています。監視を有効にするには、[SUSE Linux Enterprise Server 9 プロセッサの検出] というオブジェクト検出を有効にします。

既定の構成

パラメーター

既定値

しきい値

95

間隔 (秒)

300

サンプル数

3

上記で定義されたパラメーターの値は、上書きを使用して、すべてのインスタンスまたは特定のインスタンスやグループに対して変更できます。

原因

異常な状態とは、プロセッサの使用率が現在高くなっていることを示します。これは、プロセッサ リソースを過剰に使用するアプリケーションが原因であることがあります。

解決策

プロセッサ時間の値が高い問題に対処するには、次の 1 つまたは複数のオプションを選択します。

Element properties:

TargetMicrosoft.Linux.SLES.9.Processor
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Unix.WSMan.Performance.Filtered.Average.Threshold.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
CPU 使用率の割合が高すぎます
Processor\\% Processor Time\ パフォーマンス カウンターのしきい値を超えました。 しきい値を超えた値は次のとおりです。 {0}\% CPU
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Linux.SLES.9.Processor.PercentProcessorTime.Monitor" Accessibility="Public" Target="Microsoft.Linux.SLES.9.Processor" TypeID="Unix!Microsoft.Unix.WSMan.Performance.Filtered.Average.Threshold.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.PerformanceState">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Linux.SLES.9.Processor.PercentProcessorTime.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Value$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="UnderThreshold" ID="UnderThreshold"/>
<OperationalState HealthState="Error" MonitorTypeStateID="OverThreshold" ID="OverThreshold"/>
</OperationalStates>
<Configuration>
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_ProcessorStatisticalInformation?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>true</SplitItems>
<Interval>300</Interval>
<ObjectName>Processor</ObjectName>
<CounterName>% Processor Time</CounterName>
<InstanceName>$Target/Property[Type="Unix!Microsoft.Unix.Processor"]/PerfmonInstance$</InstanceName>
<InstanceProperty>/DataItem/WsManData/*[local-name(.)='SCX_ProcessorStatisticalInformation']/*[local-name(.)='Name']</InstanceProperty>
<Value>$Data/WsManData/*[local-name(.)='SCX_ProcessorStatisticalInformation']/*[local-name(.)='PercentProcessorTime']$</Value>
<Threshold>95</Threshold>
<NumSamples>3</NumSamples>
</Configuration>
</UnitMonitor>