Used Memory MBytes (SUSE Linux Enterprise Server 11)

Microsoft.Linux.SLES.11.OperatingSystem.UsedMemoryMBytes.Collection (Rule)

Memory\Used Memory MBytes 性能计数器收集规则

Knowledge Base article:

摘要

此规则收集 Memory\Used Memory MBytes 性能计数器的性能数据。在性能视图和报表中可以访问收集的值。

此指标显示系统当前所用的总内存量,用兆字节表示。

已用兆字节数内存值是用总物理内存减去可用内存(MemFree、Buffers 和 Cached)计算出来的。

Element properties:

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