Process - classer par conso cpu - AIX

De UnixManiax
Aller à la navigation Aller à la recherche


ps -e -o pcpu,pid,args |sort -u -r|head -20

Exemple :

# ps -e -o pcpu,pid,args |sort -u -r|head -20
 %CPU     PID COMMAND
  0.7 7168226 oracleSTA1FRP0 (LOCAL=NO) 
  0.5 5259284 ora_ctwr_STA1FRP0 
  0.4 6004848 ora_ctwr_PPH1WDP0 
  0.4 2580638 oracleDWH1FRP0 (LOCAL=NO) 
  0.3 7295104 oracleDWH1FRP0 (LOCAL=NO) 
  0.3 6238434 ora_ctwr_DWH1FRP0 
  0.2 6074514 ora_ctwr_SUI1FRP0 
  0.2 5812230 oracleCDC1FRP0 (LOCAL=NO) 
  0.2 5009594 oracleCDC1FRP0 (LOCAL=NO) 
  0.2 3633270 /apps/oracle/11.2.0.2/bin/tnslsnr LISTENER -inherit 
  0.2 3260560 ora_ctwr_ITC1FRP0 
  0.1 6082710 ora_ctwr_TPS1FRP0 
  0.1 6037632 ora_ctwr_MST1FRP0 
  0.1 5984360 ora_ctwr_CRM1FRP0 
  0.1 5701852 ora_ctwr_CDC1FRP0 
  0.1 5206262 ora_ctwr_ITC1WDP0 
  0.1 5173486 ora_ctwr_NCS1FRP0 
  0.1 5091508 ora_ctwr_JIR1FRP0 
  0.1 5050590 ora_ctwr_CRM2FRP0