AD DC 性能集合 - 进程处理器百分比总计指标

Microsoft.Windows.Server.2012.R2.AD.DomainController.ProcessorTime.Collection (Rule)

Knowledge Base article:

摘要

此规则用于收集域控制器的 Processor\% Processor Time 性能计数器的性能数据。

Processor\% Processor Time 性能计数器显示处理器执行非闲置线程的已用时间百分比。它是通过测量采样间隔期间活动的闲置线程的持续时间减去内部持续时间计算而来的。(没有其他线程准备运行时,每个处理器都有占用时钟周期的空闲线程)。此计数器是处理器活动的主要指示器,显示在采样间隔期间观察到的忙时间的平均百分比。通过监视服务处于非活动状态的时间,然后从 100% 中减去该值,即可计算出它。

Element properties:

TargetMicrosoft.Windows.Server.2012.R2.AD.DomainControllerRole
CategoryPerformanceCollection
EnabledTrue
Instance NameProcessor
Counter Name\% Processor Time
Frequency300
Alert GenerateFalse
RemotableFalse

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.AD.DomainController.ProcessorTime.Collection" Enabled="true" Target="AD2012R2Core!Microsoft.Windows.Server.2012.R2.AD.DomainControllerRole" ConfirmDelivery="false" Remotable="false" Priority="Normal" DiscardLevel="100">
<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</ObjectName>
<InstanceName>_Total</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<Tolerance>2</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>4</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>