Universal Linux 作業系統 Available Megabytes Memory 監視
記憶體的可用 MB 偏低。可能會對系統效能造成負面影響。
可用的 MB 記憶體值表示 MemFree、Buffers 和 Cached 的加總,由作業系統報告。
監視閾值是針對輪詢代理程式時傳回的平均值進行分析,其中 [範例數] 參數用於控制平均計算中所含的範例數。
預設設定
參數 | 預設值 |
閾值 | 2.5 |
間隔時間 (秒) | 300 |
範例數 | 3 |
您可以使用覆寫,針對所有執行個體或特定執行個體或群組來變更上述定義的參數值。
在下列情況下,可用實體記憶體數量可能會變得很低:
電腦上有太多的應用程式/處理序同時在執行。
應用程式在一段時間內可能遺漏記憶體。
若要解決實體記憶體不足的狀況,系統管理員可選擇下列一個或多個選項:
停止或清除一個或多個應用程式或處理序。若要檢查處理序使用的資源,請使用 "top" 命令並輸入互動式命令 "m" 來查看記憶體使用率。
在電腦上新增實體記憶體。
將應用程式移至一台或多台額外的伺服器上。
您可以從 [狀態檢視] 執行 [記憶體資訊] 工作,以檢視可用的記憶體。
您可以從 [狀態檢視] 執行 [執行 VMStat] 工作,以檢視詳細的記憶體統計資料。
Target | Microsoft.Linux.Universal.OperatingSystem | ||
Parent Monitor | System.Health.PerformanceState | ||
Category | PerformanceHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Unix.WSMan.Performance.Average.Threshold.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Linux.Universal.OperatingSystem.AvailableMBytes.Monitor" Accessibility="Public" Target="Universal!Microsoft.Linux.Universal.OperatingSystem" TypeID="Unix!Microsoft.Unix.WSMan.Performance.Average.Threshold.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.PerformanceState">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Linux.Universal.OperatingSystem.AvailableMBytes.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Value$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Error" MonitorTypeStateID="UnderThreshold" ID="UnderThreshold"/>
<OperationalState HealthState="Success" MonitorTypeStateID="OverThreshold" ID="OverThreshold"/>
</OperationalStates>
<Configuration>
<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>true</SplitItems>
<Interval>300</Interval>
<ObjectName>Memory</ObjectName>
<CounterName>Available MBytes Memory</CounterName>
<InstanceName/>
<Value>$Data/WsManData/*[local-name(.)='SCX_MemoryStatisticalInformation']/*[local-name(.)='AvailableMemory']$</Value>
<Threshold>2.5</Threshold>
<NumSamples>3</NumSamples>
</Configuration>
</UnitMonitor>