HPUX 11iv2 Processor Percent Processor Time 监视器
该监视器检查每个处理器的 Percent Processor Time。如果收到监视器发出的警报,则必须采取措施以将系统恢复到操作状态。
处理器时间百分比是指在采样间隔中,处理器忙碌时间所占的百分比。
可能会在以下环境中造成高的处理器-时间值。
开始新的进程。
因等待 IO 而阻止进程。
系统上存在太多的进程。
低内存会引起过多的交换和高 I/O。
要解决处理器时间百分比高的情况,请选择以下一种或多种选项:
当处理器时间百分比达到最高时,识别正在运行的进程。在“状态”视图下执行 "top" 命令或 "Top 10 CPU Processes" 任务。这将提供按 CPU 使用率排序的进程列表,如按默认排序,则仅显示最占用 CPU 资源的进程及其相关的 PID(进程 ID)。
停止或取消不必要的进程。利用由 "top" 命令产生的结果,识别有问题或不必要的进程及其 PID 号。利用进程的 PID 来运行 "kill" 命令。例如,如果进程的 PID 号是 4510,则运行命令 "kill 4510"。
向计算机添加更多的 CPU 或物理内存。
将应用程序移动至一个或多个附加服务器。
Target | Microsoft.HPUX.11iv2.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.HPUX.11iv2.Processor.PercentProcessorTime.Monitor" Accessibility="Public" Target="Microsoft.HPUX.11iv2.Processor" TypeID="Unix!Microsoft.Unix.WSMan.Performance.Filtered.Average.Threshold.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.PerformanceState">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.HPUX.11iv2.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>