Used Swap MBytes (AIX 7)

Microsoft.AIX.7.OperatingSystem.UsedMBytesSwap.Collection (Rule)

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

Knowledge Base article:

摘要

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

此指标显示以兆字节表示的已用交换空间的总量。

已用交换空间的兆字节数值是用操作系统报告的总交换空间值(来自 Perfstat API)减去可用交换空间计算出来的。

Element properties:

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