System Processor Queue Length Windows Server 2012 R2

Microsoft.Windows.Server.2012.R2.OperatingSystem.SystemProcessorQueueLength.Collection (Rule)

System\Processor Queue Length 성능 카운터의 수집 규칙입니다.

Knowledge Base article:

요약

이 규칙은 System\ Processor Queue Length 성능 카운터의 성능 데이터를 수집합니다.

System\Processor Queue Length 성능 카운터는 프로세스 대기열의 스레드 수를 제공합니다. 디스크 카운터와는 달리 이 카운터는 실행되고 있는 스레드는 제외하며 준비된 스레드만 표시합니다. 다중 프로세서가 있는 컴퓨터일지라도 프로세서 시간에 대해 단일 대기열이 있습니다. 그러므로 컴퓨터에 여러 개의 프로세서가 있는 경우에는 이 값을 작업 부하를 처리하는 프로세서 수로 나누어야 합니다. 작업 부하에 따라 보통 프로세서당 프로세서 큐에 스레드가 10개 미만으로 유지되는 것이 좋습니다.

Element properties:

TargetMicrosoft.Windows.Server.2012.R2.OperatingSystem
CategoryPerformanceCollection
EnabledTrue
Instance NameSystem
Counter NameProcessor Queue Length
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.2012.R2.OperatingSystem.SystemProcessorQueueLength.Collection" Enabled="true" Target="Server2012R2!Microsoft.Windows.Server.2012.R2.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 Queue Length</CounterName>
<ObjectName>System</ObjectName>
<InstanceName/>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<Tolerance>10</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>