处理器中断时间百分比 Windows Server 2008

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

收集 Windows Server 2008 操作系统中的 Processor\\% Interrupt Time 性能计数器

Knowledge Base article:

摘要

此规则收集 Windows Server 2008 操作系统中的 Processor\% Interrupt Time 性能计数器的性能数据。

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

Element properties:

TargetMicrosoft.Windows.Server.2008.Processor
CategoryPerformanceCollection
EnabledFalse
Instance NameProcessor
Counter Name\% Interrupt Time
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.2008.Processor.PercentInterruptTime.Collection" Enabled="false" Target="Server2008!Microsoft.Windows.Server.2008.Processor">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PerformanceDS" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>% Interrupt Time</CounterName>
<ObjectName>Processor</ObjectName>
<InstanceName>$Target/Property[Type="WindowsServer!Microsoft.Windows.Server.Processor"]/PerfmonInstance$</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>