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

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

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

Knowledge Base article:

摘要

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

Processor Information\% Interrupt Time 性能计数器显示采样间隔期间处理器在接收和服务硬件中断方面所花费的时间。此值是生成中断的设备(例如系统时钟、鼠标、磁盘驱动程序、数据通讯线路、网络接口卡和其他外围设备)的活动的间接指示器。这些设备完成某项任务或需要注意时,通常会中断处理器。在中断期间暂挂正常线程执行。大多数系统时钟每隔 10 毫秒就会中断处理器,从而创建中断活动的背景。在中断期间暂挂正常线程执行。此计数器以采样时间的百分比的形式显示平均忙时间。

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.PercentInterruptTime.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>% Interrupt 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>