- 论坛徽章:
- 0
|
AIX下ps 和topas显示的CPU使用情况到底哪个准确?
ps aux 中显示 %cpu 为6.2
USER PID %CPU %MEM SZ RSS TTY STAT STIME TIME COMMAND
oracle 651404 6.2 3.0 420416 462524 - A 14:57:12 120:33 oraclequery (LO
%CPU
(u and v flags) The percentage of time the process has used the CPU since the process started. The value is computed
by dividing the time the process uses the CPU by the elapsed time of the process. In a multi-processor environment,
the value is further divided by the number of available CPUs because several threads in the same process can run on
different CPUs at the same time. (Because the time base over which this data is computed varies, the sum of all %CPU
fields can exceed 100%.)
topas中显示同一个进程为12.5
PgspOut 0
Name PID CPU% PgSp Owner PageIn 0 PAGING SPACE
oracle 651404 12.5 324.0 oracle PageOut 6 Size,MB 6912
% CPU Utilization
The average processor use of the process over the monitoring interval. The first time a process is shown, this
value is the average processor use over the lifetime of the process. |
|