Red Hat Enterprise Linux Server 6 프로세서 프로세서 시간 비율 모니터
이 모니터는 각 프로세서의 Percent Processor Time을 확인합니다. 이 모니터에서 경고가 수신되면 시스템을 작동 상태로 되돌리기 위한 조치가 필요할 수 있습니다.
Percent Processor Time은 샘플링 간격 동안 프로세서가 사용된 시간의 비율(%)입니다.
다음과 같은 상황에서 프로세서 시간 값이 높게 나타날 수 있습니다.
새 프로세스가 시작될 때
I/O 대기 중에 프로세스가 차단된 경우
시스템에 프로세스가 너무 많습니다.
메모리가 부족하여 스와핑 및 I/O가 과도하게 증가하고 있습니다.
프로세서 시간 비율이 높은 문제를 해결하려면 다음 옵션을 하나 이상 선택하십시오.
Percent Processor Time이 가장 높은 상태에서 실행 중인 프로세스를 확인합니다. "top" 명령을 실행하거나 상태 보기에서 "상위 10 CPU 프로세스" 작업을 실행합니다. 그러면 CPU 사용량을 기준으로 정렬된 프로세스 목록이 제공됩니다. 이 목록에는 기본적으로 CPU를 가장 많이 사용하는 프로세스와 해당 PID(프로세스 ID)만 표시됩니다.
확인된 프로세스 중 불필요한 프로세스를 중지하거나 종료합니다. "top" 명령의 출력을 통해 잘못되거나 불필요한 프로세스를 해당 PID 번호와 함께 확인합니다. 프로세스의 PID를 사용하여 "kill" 명령을 실행합니다. 예를 들어 프로세스의 PID 번호가 4510이면 'kill 4510' 명령을 실행합니다.
컴퓨터에 CPU 또는 실제 메모리를 추가합니다.
응용 프로그램을 하나 이상의 추가 서버로 이동합니다.
상태 보기에서 "상위 10 CPU 프로세스" 작업을 실행하여 상위 CPU 소비자를 볼 수 있습니다.
Target | Microsoft.Linux.RHEL.6.Processor | ||
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.Filtered.Average.Threshold.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Linux.RHEL.6.Processor.PercentProcessorTime.Monitor" Accessibility="Public" Target="Microsoft.Linux.RHEL.6.Processor" TypeID="Unix!Microsoft.Unix.WSMan.Performance.Filtered.Average.Threshold.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.PerformanceState">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Linux.RHEL.6.Processor.PercentProcessorTime.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Value$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="UnderThreshold" ID="UnderThreshold"/>
<OperationalState HealthState="Error" 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_ProcessorStatisticalInformation?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>true</SplitItems>
<Interval>300</Interval>
<ObjectName>Processor</ObjectName>
<CounterName>% Processor Time</CounterName>
<InstanceName>$Target/Property[Type="Unix!Microsoft.Unix.Processor"]/PerfmonInstance$</InstanceName>
<InstanceProperty>//*[local-name()="Name"]</InstanceProperty>
<Value>$Data///*[local-name()="PercentProcessorTime"]$</Value>
<Threshold>95</Threshold>
<NumSamples>5</NumSamples>
</Configuration>
</UnitMonitor>