LinuxQuestions.org
Review your favorite Linux distribution.
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 12-08-2011, 04:18 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
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
 
Old 12-08-2011, 04:34 AM   #2
coolsg5636
Member
 
Registered: Sep 2011
Location: Pune,India
Distribution: RHEL ,CentOS, Fedora
Posts: 100

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

Use top command.
 
Old 12-08-2011, 05:16 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,987

Rep: Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217
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%.
 
Old 12-08-2011, 06:12 AM   #4
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by ust View Post
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
 
Old 12-08-2011, 07:11 AM   #5
asimba
Member
 
Registered: Mar 2005
Location: 127.0.0.0
Distribution: Red Hat / Fedora
Posts: 355

Rep: Reputation: 42
apolgize for being unable to see logic in getting top output sorted by memory.
 
  


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
OpenOffice/LibreOffice writer uses 100% CPU time, 100% memory, workaround someone? jlinkels Linux - Software 11 08-30-2012 02:50 PM
[SOLVED] MySQL server 100% CPU usage in a specific time okcomputer44 Linux - Server 3 01-18-2011 06:41 PM
X server consuming 100% CPU on 12.1 gmelendez Slackware 2 08-19-2008 05:22 PM
X server 100% cpu usage on AMD Athlon 1.1GHz johngreenwood Slackware 9 03-15-2007 04:16 PM
100% cpu use 100% of the time serafean Linux - Newbie 4 05-04-2006 04:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:23 PM.

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