Universal Linux オペレーティング システムの空きメモリ領域 (MB) モニター
使用可能なメモリのメガバイト数が少なくなっています。システムのパフォーマンスに悪影響を与える可能性があります。
使用できるメモリのメガバイト数は、オペレーティング システムにより報告された MemFree、Buffers、および Cached の合計を表します。
モニターのしきい値は、エージェントへのポーリングで返された値の平均値を基準として分析されます。ここで [サンプル数] パラメーターは、平均値の計算に使用されるサンプルの数を制御します。
既定の構成
パラメーター | 既定値 |
しきい値 | 2.5 |
間隔 (秒) | 300 |
サンプル数 | 3 |
上記で定義されたパラメーターの値は、上書きを使用して、すべてのインスタンスまたは特定のインスタンスやグループに対して変更できます。
利用可能な物理メモリの量は、次の状況で足りなくなることがあります。
コンピューター上で同時に実行されているアプリケーションやプロセスの数が多すぎる。
長時間にわたって、アプリケーションでメモリ リークが発生している。
物理メモリの量が少なくなった場合、管理者は次の 1 つまたは複数のオプションを選択できます。
1 つまたは複数のアプリケーションまたはプロセスを停止するか強制終了します。プロセスによって使用されるリソースを検査するには、top コマンドを使用し、インタラクティブ コマンドの m を入力してメモリの使用率を表示します。
コンピューターに物理メモリを追加します。
アプリケーションを 1 つまた複数の別のサーバーに移動する。
[状態ビュー] から [メモリ情報] タスクを実行して、使用可能なメモリを表示できます。
[状態ビュー] から [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>