Processor \% Privileged Time (SUSE Linux Enterprise Server 9)

Microsoft.Linux.SLES.9.Processor.PercentPrivilegedTime.Collection (Rule)

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

Knowledge Base article:

摘要

此規則收集 Processor\% Privileged Time 效能計數器的效能資料。 您可以在效能檢視和報表中存取收集的值。

此標準會以百分比顯示單一處理器花在特殊權限模式下執行程式碼的時間。

代理程式傳回的值是在 1 分鐘的間隔內查詢的 5 個最新值的彙總平均。

預設會停用個別處理器的監視。 若要啟用監視,可啟用名為 [探索 SUSE Linux Enterprise Server 9 處理序] 的物件探索。

Element properties:

TargetMicrosoft.Linux.SLES.9.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.SLES.9.Processor.PercentPrivilegedTime.Collection" Target="Microsoft.Linux.SLES.9.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>% Privileged Time</CounterName>
<InstanceName>$Target/Property[Type="Unix!Microsoft.Unix.Processor"]/PerfmonInstance$</InstanceName>
<InstanceProperty>/DataItem/WsManData/*[local-name(.)='SCX_ProcessorStatisticalInformation']/*[local-name(.)='Name']</InstanceProperty>
<Value>$Data/WsManData/*[local-name(.)='SCX_ProcessorStatisticalInformation']/*[local-name(.)='PercentPrivilegedTime']$</Value>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>