プロセッサの合計プロセッサ時間の割合 - Windows Server 2016 以降

Microsoft.Windows.Server.10.0.OperatingSystem.TotalPercentProcessorTime.Collection (Rule)

パフォーマンス カウンター Processor\\% Processor Time を収集します

Knowledge Base article:

概要

このルールは、Processor\% Processor Time パフォーマンス カウンターのパフォーマンス データを収集します。

Processor\% Processor Time パフォーマンス カウンターは、プロセッサが非アイドルのスレッドの実行に費やした経過時間の割合を示します。この値は、サンプリング期間中に、アイドル スレッドがアクティブであった時間を測定し、その時間をサンプリング期間から引くことによって算出します (各プロセッサには、他に実行するスレッドがないときにサイクルを消費するアイドル スレッドがあります)。このカウンターは、プロセッサの稼働状況を示す主なインジケーターで、サンプリング期間に対するビジー時間の割合の平均をパーセントで示します。この値は、サービスがアクティブでない時間を監視し、その値を 100% から差し引いたものです。

Element properties:

TargetMicrosoft.Windows.Server.10.0.OperatingSystem
CategoryPerformanceCollection
EnabledTrue
Instance NameProcessor Information
Counter Name\% Processor Time
Frequency300
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
PerformanceDS DataSource System.Performance.OptimizedDataProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Windows.Server.10.0.OperatingSystem.TotalPercentProcessorTime.Collection" Enabled="true" Target="ServervNext!Microsoft.Windows.Server.10.0.OperatingSystem">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PerformanceDS" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>% Processor Time</CounterName>
<ObjectName>Processor Information</ObjectName>
<InstanceName>_Total</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<Tolerance>5</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>12</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>