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

Microsoft.Windows.Server.10.0.Processor.PercentProcessorTime.Collection (Rule)

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

Knowledge Base article:

概要

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

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

Element properties:

TargetMicrosoft.Windows.Server.10.0.Processor
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
PerformanceDS DataSource Microsoft.Windows.Server.10.0.Processor.Performance.ModuleType Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Windows.Server.10.0.Processor.PercentProcessorTime.Collection" Enabled="true" Target="ServervNext!Microsoft.Windows.Server.10.0.Processor">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PerformanceDS" TypeID="Microsoft.Windows.Server.10.0.Processor.Performance.ModuleType">
<CounterName>% Processor Time</CounterName>
<ObjectName>Processor</ObjectName>
<InstanceName>$Target/Property[Type="WindowsServer!Microsoft.Windows.Server.Processor"]/PerfmonInstance$</InstanceName>
<Frequency>300</Frequency>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>