\% Kullanılabilir Değiştirme Alanı (SUSE Linux Enterprise Server 9)

Microsoft.Linux.SLES.9.OperatingSystem.PercentAvailableSwap.Collection (Rule)

Performans sayacı Değiştirme Alanı\\% Kullanılabilir Değiştirme Alanı için toplama kuralı

Knowledge Base article:

Özet

Bu kural, Değiştirme Alanı\% Kullanılabilir Değiştirme Alanı performans sayacı için performans verilerini toplar. Toplanan değerler performans görünümlerinde ve raporlarında erişilebilir durumdadır.

Bu ölçüm, kullanılabilir değiştirme alanının toplam miktarını sistemdeki toplam değiştirme alanının yüzdesi olarak kullanıma sunar.

Kullanılabilir takas alanı değeri, işletim sistemi tarafından bildirilen boş ve toplam takas alanı değerlerinin karşılaştırılmasıyla hesaplanır.

Element properties:

TargetMicrosoft.Linux.SLES.9.OperatingSystem
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

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

Source Code:

<Rule ID="Microsoft.Linux.SLES.9.OperatingSystem.PercentAvailableSwap.Collection" Target="Microsoft.Linux.SLES.9.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>Swap Space</ObjectName>
<CounterName>% Available Swap Space</CounterName>
<InstanceName/>
<Value>$Data/WsManData/*[local-name(.)='SCX_MemoryStatisticalInformation']/*[local-name(.)='PercentAvailableSwap']$</Value>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>