前 10 個 CPU 處理序
Microsoft.HPUX.11iv2.Invoke.TopProcesses.Task (Task)
依 CPU 使用率提供前 10 個處理序。
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.HPUX.11iv2.Invoke.TopProcesses.Task" Target="Microsoft.HPUX.11iv2.Computer" Accessibility="Internal" Enabled="true">
<Category>Maintenance</Category>
<ProbeAction ID="Top10CPU" TypeID="Unix!Microsoft.Unix.WSMan.Invoke.ProbeAction">
<TargetSystem>$Target/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_UnixProcess?__cimnamespace=root/scx</Uri>
<Selector/>
<InvokeAction>TopResourceConsumers</InvokeAction>
<Input><p:TopResourceConsumers_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_UnixProcess"><p:resource>CPUTime</p:resource><p:count>10</p:count></p:TopResourceConsumers_INPUT></Input>
</ProbeAction>
</Task>