Processor \% Interrupt Time (Red Hat Enterprise Linux Server 5)

Microsoft.Linux.RHEL.5.Processor.TotalPercentInterruptTime.Collection (Rule)

收集效能計數器 [Processor\\% Interrupt Time]

Knowledge Base article:

摘要

此規則會收集 [Processor Total Percent Interrupt Time] 效能計數器的效能資料。此資訊會收集並公開在一或多個檢視及/或報表中。

[Processor Total Percent Interrupt Time] 效能計數器會顯示處理器在取樣間隔內花在接收與處理硬體中斷的時間。此值是產生插斷的裝置 (如系統時鐘、滑鼠、磁碟驅動程式、資料通訊線路、網路介面卡及其他週邊裝置) 活動的間接指示器。當這些裝置完成工作或有需求時,通常會對處理器發出插斷。在中斷期間會暫停執行一般執行緒。大多數的系統時鐘每 10 毫秒會中斷一次處理器,藉以建立中斷活動的背景,以便於中斷期間暫停執行一般執行緒。此計數器會以百分比顯示取樣時間的平均忙碌時間。

Element properties:

TargetMicrosoft.Linux.RHEL.5.Processor
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Unix.WSMan.PerfCounterProvider.Filtered Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Linux.RHEL.5.Processor.TotalPercentInterruptTime.Collection" Target="Microsoft.Linux.RHEL.5.Processor" Enabled="true" Remotable="true">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Unix!Microsoft.Unix.WSMan.PerfCounterProvider.Filtered">
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_ProcessorStatisticalInformation?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>true</SplitItems>
<Interval>300</Interval>
<ObjectName>Processor</ObjectName>
<CounterName>% Interrupt Time</CounterName>
<InstanceName>$Target/Property[Type="Unix!Microsoft.Unix.Processor"]/PerfmonInstance$</InstanceName>
<InstanceProperty>//*[local-name()="Name"]</InstanceProperty>
<Value>$Data///*[local-name()="PercentInterruptTime"]$</Value>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>