LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-13-2012, 08:03 AM   #1
MMaddoxx
LQ Newbie
 
Registered: Nov 2011
Location: London, UK
Distribution: ubuntu
Posts: 10

Rep: Reputation: Disabled
Question multi-core box: meaning of ps aux output?


Hi

Question arose because my job on a shared box was running real slow.

from running
Code:
$ less /proc/cpuinfo
the box has 6x Intel(R) Xeon(R) CPU X5650 @ 2.67GHz

When I use
Quote:
$ps -eo pid,user,%cpu,%mem,args --sort %cpu
to see the processes using most %cpu, I get (some details removed to protect the innocent)

Quote:
PID USER %CPU %MEM
1349 myID 10.7 7.1 sort -k 1,1 -S 8G -T.
1353 myID 10.8 7.1 sort -k 1,1 -S 8G -T.
1375 myID 11.7 0.0 awk {my awk task
917 xxID 99.7 0.0 /path/to/exe
First observation: the %cpu figures add up to >100%.
Is this because the PIDs are running on separate chips? (my two sorts are threads running from perl ... are they also on separate chips?)

If each of these PID is on a separate chip, can my own job's slow running be caused by that cpu-hogging (99.7%) job I first suspected?

I will wait until that job finishes and try mine again, but I'm kindof curious as to how the system works.

m
 
Old 01-13-2012, 09:32 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
You get 100% per core. So with 6 cores you should see a max of 600% (this is not an exact science, so you could potentially see slightly over).
 
  


Reply


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
[SOLVED] what's the difference between a multi-cpu , multi-core and a multi-thread system ? entz Linux - Hardware 11 12-20-2011 05:49 PM
square brackets in output of "ps aux" not matching output of "ps -ejH" alirezan1 Linux - Newbie 14 07-14-2010 05:17 AM
confine the output of 'ps -aux' for a user? houler Slackware 7 04-26-2005 12:44 AM
ps -aux output: CROND running repeatedly redhatman Linux - Newbie 1 03-29-2004 09:51 PM
help me analyze the output of ps -aux slackist Linux - Newbie 5 03-28-2004 09:20 AM


All times are GMT -5. The time now is 06:43 AM.

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