Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

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

Posted on 2014-02-24
3
Medium Priority
?
368 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 12

Accepted Solution

by:
Sean earned 2000 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 12

Expert Comment

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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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.
Suggested Courses
Course of the Month12 days, 10 hours left to enroll

578 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