Red Hat Enterprise Linux Server 5 Operating System Available MegaBytes Memory 모니터
이 모니터는 시스템의 Available MBytes(Memory\% Available MBytes)를 확인합니다. 이 모니터에서 경고가 수신되면 시스템을 작동 상태로 되돌리기 위한 조치가 필요할 수 있습니다.
사용 가능한 실제 메모리 크기는 다음 상황에서 부족해질 수 있습니다.
컴퓨터에서 동시에 실행 중인 응용 프로그램/프로세스가 너무 많습니다.
시간이 지남에 따라 응용 프로그램의 메모리가 누수되는 경우
실제 메모리 부족 상태를 해결하려면 관리자는 다음 옵션을 하나 이상 선택할 수 있습니다.
하나 이상의 응용 프로그램, 데몬 또는 프로세스를 중지하거나 종료합니다. "top" 명령을 실행하거나 상태 보기에서 "상위 10 CPU 프로세스" 작업을 실행합니다. 그러면 CPU 사용량을 기준으로 정렬된 프로세스 목록이 제공됩니다. 이 목록에는 기본적으로 CPU를 가장 많이 사용하는 프로세스와 해당 PID(프로세스 ID)만 표시됩니다. "top" 명령의 출력을 통해 잘못되거나 불필요한 프로세스를 해당 PID 번호와 함께 확인합니다. 프로세스의 PID를 사용하여 "kill" 명령을 실행합니다. 예를 들어 프로세스의 PID 번호가 4510이면 'kill 4510' 명령을 실행합니다. 상태 보기에서 "메모리 정보" 작업을 실행하여 사용 가능한 메모리가 증가했는지 확인할 수 있습니다.
컴퓨터에 실제 메모리를 추가합니다.
응용 프로그램을 하나 이상의 추가 서버로 이동하십시오.
상태 보기에서 "메모리 정보" 작업을 실행하여 사용 가능한 메모리를 볼 수 있습니다.
VMStat는 마지막으로 재부팅한 이후의 자세한 평균 메모리 통계를 제공합니다. 상태 보기에서 VMStat 작업을 실행할 수 있습니다.
Target | Microsoft.Linux.RHEL.5.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.RHEL.5.OperatingSystem.AvailableMBytes.Monitor" Accessibility="Public" Target="Microsoft.Linux.RHEL.5.OperatingSystem" TypeID="Unix!Microsoft.Unix.WSMan.Performance.Average.Threshold.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.PerformanceState">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Linux.RHEL.5.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</CounterName>
<InstanceName/>
<Value>$Data///*[local-name()="AvailableMemory"]$</Value>
<Threshold>2.5</Threshold>
<NumSamples>3</NumSamples>
</Configuration>
</UnitMonitor>