記憶體可用 MB Windows Server 2012

Microsoft.Windows.Server.6.2.OperatingSystem.MemoryAvailableMBytes.Collection (Rule)

收集效能計數器 Memory\Available MBytes

Knowledge Base article:

摘要

此規則會收集 Memory\Available Mbytes 效能計數器的效能資料。

Physical Disk\Pages Writes/sec 效能計數器會以 MB 顯示可供電腦上執行的程序使用的實體記憶體容量,而非 Memory\Available Byte 中報告的位元組。 其計算方式是加總零數、可用和待命記憶體清單上的空間容量。 可用記憶體隨時可供使用;零數記憶體是指填入零的記憶體分頁,以防後續程序讀取先前程序使用中的資料;待命記憶體是指從磁碟路徑上的某個程序的工作集 (其實體記憶體) 中移除的記憶體,但仍可恢復使用。 此計數器僅顯示最後觀察到的值,而不是平均值。

Element properties:

TargetMicrosoft.Windows.Server.6.2.OperatingSystem
CategoryPerformanceCollection
EnabledTrue
Instance NameMemory
Counter NameAvailable MBytes
Frequency600
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
PerformanceDS DataSource System.Performance.OptimizedDataProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Windows.Server.6.2.OperatingSystem.MemoryAvailableMBytes.Collection" Enabled="true" Target="WindowsServer!Microsoft.Windows.Server.6.2.OperatingSystem">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PerformanceDS" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Available MBytes</CounterName>
<ObjectName>Memory</ObjectName>
<InstanceName/>
<AllInstances>false</AllInstances>
<Frequency>600</Frequency>
<Tolerance>10</Tolerance>
<ToleranceType>Percentage</ToleranceType>
<MaximumSampleSeparation>6</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>