Tillgängligt minne i megabyte (SUSE Linux Enterprise Server 12)

Microsoft.Linux.SLES.12.OperatingSystem.AvailableMBytes.Collection (Rule)

Insamlingsregel för prestandaräknaren för minne\tillgängliga megabyte

Knowledge Base article:

Sammanfattning

Med den här regeln samlas prestandadata in för prestandaräknaren för minne\tillgängligt minne i megabyte. De insamlade värdena är tillgängliga i prestandavyer och rapporter.

Mätvärdet visar den mängd minne, i megabyte, som är direkt tillgänglig för allokering till en process eller för systemanvändning.

Det tillgängliga minnesvärdet i megabyte representerar summan av MemFree, buffertar och cachelagring, enligt rapporter från operativsystemet.

Element properties:

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