Performans sayacı Bellek\\% Kullanılan Bellek için toplama kuralı
Bu kural, Bellek\% Kullanılan Bellek performans sayacı için performans verilerini toplar. Toplanan değerlere performans görünümlerinde ve raporlarında erişilebilir.
Bu ölçüm, sistemin kullanmakta olduğu bellek miktarını sistemdeki toplam belleğin yüzdesi biçiminde kullanıma sunar.
Kullanılan bellek değeri yüzdesi, kullanılabilir belleğin (MemFree, Arabellek ve Önbellekteki) toplam fiziksel bellekten çıkarılması ve toplam fiziksel bellek değeri ile karşılaştırılmasıyla hesaplanır.
Target | Microsoft.Linux.RHEL.7.OperatingSystem |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Unix.WSMan.PerfCounterProvider | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.Linux.RHEL.7.OperatingSystem.PercentUsedMemory.Collection" Target="Microsoft.Linux.RHEL.7.OperatingSystem" Enabled="true" Remotable="true">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Unix!Microsoft.Unix.WSMan.PerfCounterProvider">
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_MemoryStatisticalInformation?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>false</SplitItems>
<Interval>300</Interval>
<ObjectName>Memory</ObjectName>
<CounterName>% Used Memory</CounterName>
<InstanceName/>
<Value>$Data/WsManData/*[local-name(.)='SCX_MemoryStatisticalInformation']/*[local-name(.)='PercentUsedMemory']$</Value>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>