处理器信息 DPC 时间百分比(Windows Server 2016 及更高版本)

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

收集 Processor Information\\% DPC Time 性能计数器

Knowledge Base article:

摘要

此规则收集 Processor Information\% DPC Time 性能计数器的性能数据。

Processor Information\% DPC Time 性能计数器显示在采样间隔期间处理器用于接收和服务延迟的过程调用(DPC)的时间百分比。DPC 是运行优先级低于标准中断的中断。DPC 时间百分比是特权时间百分比的组成部分,因为 DPC 在特权模式下执行。可对它们进行单独计数,并且它们不是中断计数器的组成部分。此计数器以采样时间的百分比的形式显示平均忙时间。

Element properties:

TargetMicrosoft.Windows.Server.10.0.Processor
CategoryPerformanceCollection
EnabledFalse
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.PercentDPCTime.Collection" Enabled="false" 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>% DPC 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>