LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How come the server using over 100% CPU (https://www.linuxquestions.org/questions/linux-newbie-8/how-come-the-server-using-over-100-cpu-917695/)

ust 12-08-2011 03:18 AM

How come the server using over 100% CPU
 
I just use top to check the memory of the Redhat serve , found the %CPU is 100.1 , just wonder why the figure over 100% , can advise what is reason of it ? Thanks.


PR NI VIRT RES SHR S %CPU %MEM

25 0 1446m 489m 487m R 100.1 6.0

coolsg5636 12-08-2011 03:34 AM

Check which processes are running and eating memory, most probably same process is using CPU excessively.

Use top command.

syg00 12-08-2011 04:16 AM

That reply wasn't at all useful - the OP stated that top was used.

100.1 may be just a rounding error - top is just taking samples, and calculating the numbers it displays.
Also the %CPU is not normalised, so if you have multiple cores/CPUs and a multi-threaded app, the total can add up to (well) over 100%.

deep27ak 12-08-2011 05:12 AM

Quote:

Originally Posted by ust (Post 4544945)
I just use top to check the memory of the Redhat serve , found the %CPU is 100.1 , just wonder why the figure over 100% , can advise what is reason of it ? Thanks.


PR NI VIRT RES SHR S %CPU %MEM

25 0 1446m 489m 487m R 100.1 6.0


can you show us the complete output of top command as the output doesn't seems to be complete


do this

Code:

#top
press shift+m

and post the complete output which you see on your screen using code tags

asimba 12-08-2011 06:11 AM

apolgize for being unable to see logic in getting top output sorted by memory.


All times are GMT -5. The time now is 08:17 PM.