通用 Linux 操作系统 Available Megabytes Memory 监视器
内存的可用兆字节数不足。系统性能可能会受到负面影响。
可用兆字节内存值表示操作系统报告的 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>