Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-18-2007, 07:46 AM   #1
Registered: Sep 2007
Posts: 33

Rep: Reputation: 15
Question on top, ps and sar output


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

Old 10-18-2007, 01:22 PM   #2
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (
Posts: 1,900

Rep: Reputation: 68
12% of 16 cores' power = 1.92 of 1 core's power. In multi-processor setup (or multi-core, for that matter) top gives you sum over all processors. So it can give 192% here (and it can give nearly 1600% if you manage to fully load all your cores).
Old 10-19-2007, 12:31 AM   #3
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,374

Rep: Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383
iirc, on RH systems you can run 'top', then press the 'esc' key (might be '1' key) & it'll show per cpu numbers.
Try man top
Old 10-19-2007, 12:58 AM   #4
Registered: Sep 2007
Posts: 33

Original Poster
Rep: Reputation: 15
Thank you very much for the clarification



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sysstat output (using sar) cabloy Linux - Software 2 04-27-2010 04:10 AM
Difference in SAR and TOP result ImranAthar Linux - General 0 08-29-2007 09:04 AM
Conflicting data from sar & top clindo Red Hat 0 05-15-2007 09:20 AM
question re output of "top" slackist Linux - Newbie 2 04-12-2004 08:13 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration