Toplam İşlemci \% Ayrıcalıklı Zamanı (Red Hat Enterprise Linux Server 7)

Microsoft.Linux.RHEL.7.OperatingSystem.TotalPercentPrivilegedTime.Collection (Rule)

Performans sayacı İşlemci\\% Ayrıcalıklı Zaman'ı toplar

Knowledge Base article:

Özet

Bu kural, İşlemci\% Ayrıcalıklı Zaman (_Total) performans sayacı için performans verilerini toplar. Toplanan değerlere performans görünümlerinde ve raporlarında erişilebilir.

Bu ölçüm, tüm işlemcilerin ayrıcalıklı modda kod çalıştırırken harcadığı geçen sürenin yüzdesini kullanıma sunar.

Aracı tarafından döndürülen değer, 1 dakika aralıklarla sorgulanmış en son 5 değerin yuvarlatılmış ortalamasıdır.

Element properties:

TargetMicrosoft.Linux.RHEL.7.OperatingSystem
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.7.OperatingSystem.TotalPercentPrivilegedTime.Collection" Target="Microsoft.Linux.RHEL.7.OperatingSystem" 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>_Total</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>