Performans sayacı İşlemci\\% Kullanıcı Zamanı'nı toplar
Bu kural, İşlemci\% Kullanıcı Zamanı performans sayacı için performans verilerini toplar. Toplanan değerlere performans görünümlerinde ve raporlarında erişilebilir.
Bu ölçüm, tek bir işlemcinin kullanıcı modunda kod çalıştırırken harcadığı geçen sürenin yüzdesini kullanıma sunar. Uygulamalar ve sistem yardımcı programlarının çoğu kullanıcı modunda yürütülür.
Aracı tarafından döndürülen değer, 1 dakika aralıklarla sorgulanmış en son 5 değerin yuvarlatılmış ortalamasıdır.
İşlemcilerin tek tek izlenmesi varsayılan olarak devre dışı bırakılmış. 'Solaris 10 İşlemcisini Bul' adlı nesne keşfini etkinleştirerek izlemeyi etkinleştir.
Target | Microsoft.Solaris.10.Processor |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
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 |
<Rule ID="Microsoft.Solaris.10.Processor.PercentUserTime.Collection" Target="Microsoft.Solaris.10.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>% User 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(.)='PercentUserTime']$</Value>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>