Question on top, ps and sar output
Hi
I have red hat AS Release 4 linux on a Sun x4600 server with Dual-Core AMD Opteron(tm) Processor 8218 (16 Processors).
When i run my application, and do a ps aux or a top on my process id, sometimes i see that the %CPU goes more than 100%. I sometimes see 1000% also. Why does the cpu utilization for the process goes more than 100%?
When i check the sar output %cpu for user remains at 12% and kernel remains as 3% when the application runs. Why is this difference in the cpu output between the two commands?
I can understand that the ps aux and top gives per process CPU utilization and sar gives over all utilization at a time. But i donot understand why per process cpu utilization goes more than 100% where as sar output remains at 12%
Please clarify
Thanks
Sathya
|