Solved

how  to determine what process is using all the resources for one CPU on multi cpu proc

Posted on 2014-02-24
3
360 Views
Last Modified: 2014-02-24
Hello,
At my colo , i get notifications if I am using two much processor.  I am trying to determine how to debug this

when i do a top  is see Cpu7
top - 14:15:09 up 17 days, 17:24,  2 users,  load average: 1.00, 1.01, 1.05
Tasks: 154 total,   1 running, 153 sleeping,   0 stopped,   0 zombie
Cpu0  :  0.7%us,  0.3%sy,  0.0%ni, 98.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.7%st
Cpu1  :  0.3%us,  0.3%sy,  0.0%ni, 99.0%id,  0.3%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu2  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu3  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu4  :  0.0%us,  0.0%sy,  0.0%ni, 98.7%id,  0.0%wa,  0.0%hi,  0.0%si,  1.3%st
Cpu5  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu6  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu7  : 96.8%us,  0.0%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.0%si,  3.2%st
Mem:   4030856k total,  3979688k used,    51168k free,    80876k buffers
Swap:   524284k total,    33060k used,   491224k free,  2341180k cached

is there a way to link a process to a CPU and then are there any other debugging tips to determine what is happening to debug this

thanks
randy
0
Comment
Question by:paries
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
Sean earned 500 total points
ID: 39883716
When you do top does it not show you the services and %cpu being used by each command?
0
 

Author Comment

by:paries
ID: 39883730
DUH!!!
talk about the forest for the trees!!!
0
 
LVL 9

Expert Comment

by:Sean
ID: 39883732
always happy to help :D
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question