LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-01-2008, 02:52 AM   #1
rock.k
LQ Newbie
 
Registered: Feb 2008
Posts: 9

Rep: Reputation: 0
CPU usage too high!


Hi.
I first want to tell you that I'm new to the linux environment and just started learning linux. To help you understand my problem I am giving you the configuration of my machine...

Intel Pentium D 3.0 GHz (2X2MB cache)
1GB DDR2 RAM
Intel D945GCCR motherboard


I had Ubuntu 6.10 installed on my machine. But whenever I started ubutu and checked the cpu usage it showed me above 50% (both CPUs) everytime.

Then i switched over to Fedora 8, but the problem remains as it is.
Plz help me!!
 
Old 03-01-2008, 03:10 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
There is a command line utility called top the will show what process(es) is using all the CPU. I am sure there are GUI utilities that do the same, but I am not familiar with them

To run top just type that word into a terminal. But you might want to review its man(ual) page first. To do that, type:

man top
 
Old 03-01-2008, 03:28 AM   #3
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
In Ubuntu, the gui utility is System Monitor, in the System->Administration menu. I'm sure Fedora will have something similar.

FWIW- my cpu usage runs 40-65%, and goes to 100% on occasion, but it doesn't seem to affect performance.

Cheers
 
Old 03-01-2008, 04:10 AM   #4
rock.k
LQ Newbie
 
Registered: Feb 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Hi.
As blackhole54 suggested i tried using the command 'top'
It showed me following results...


top - 20:59:17 up 7 min, 2 users, load average: 1.53, 1.32, 0.72
Tasks: 129 total, 5 running, 124 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.3%us, 41.5%sy, 0.0%ni, 45.2%id, 0.0%wa, 11.0%hi, 0.0%si, 0.0%st
Mem: 1032540k total, 378116k used, 654424k free, 15416k buffers
Swap: 522104k total, 0k used, 522104k free, 189608k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
66 root 15 -5 0 0 0 R 73 0.0 5:49.09 kacpid
67 root 15 -5 0 0 0 R 20 0.0 1:34.99 kacpi_notify
2471 root 20 0 293m 14m 6396 S 3 1.4 0:13.48 X
2958 rohit 20 0 47624 15m 11m S 1 1.6 0:00.43 gedit
2568 rohit 20 0 22112 9.8m 7228 S 1 1.0 0:00.58 metacity
2569 rohit 20 0 45036 15m 11m S 1 1.6 0:01.04 gnome-panel
2647 rohit 20 0 16996 1712 988 S 1 0.2 0:00.50 gnome-screensav
474 root 15 -5 0 0 0 S 0 0.0 0:00.06 ata/0
475 root 15 -5 0 0 0 S 0 0.0 0:00.05 ata/1
2698 rohit 20 0 76304 17m 11m R 0 1.8 0:02.25 gnome-terminal
2761 rohit 20 0 2272 1004 780 R 0 0.1 0:00.52 top
1 root 20 0 2112 656 568 S 0 0.1 0:00.88 init
2 root 15 -5 0 0 0 S 0 0.0 0:00.00 kthreadd
3 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/0
4 root 15 -5 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0
5 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/0
6 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/1

can someone plz explain this to me???

Last edited by rock.k; 03-01-2008 at 04:16 AM.
 
Old 03-01-2008, 04:48 AM   #5
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by rock.k View Post
can someone plz explain this to me???
First, let me give you a tip about posting computer output (and code/script listings, etc): wrap it in code tags. This will cause everything to line up like it was on your computer screen. A little while back I did a whole post on this which you can view here. It includes instructions on how to do it.

Quote:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
66 root 15 -5 0 0 0 R 73 0.0 5:49.09 kacpid
67 root 15 -5 0 0 0 R 20 0.0 1:34.99 kacpi_notify
Your culprits are kacpid and kacpi-notify which are using 73% and 20% of (an individual processor's) time respectively. I don't have the time to really dig into this right now, but I think these are both kernel threads that have something to do with ACPI. A quick search turned up other threads that might be related here, here, and here Maybe reading those and/or some more searching might give you some clues, or maybe somebody else can post more about this issue.
 
  


Reply

Tags
hardware



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
High CPU usage ?! Why? skate Linux - Software 1 04-11-2007 05:55 AM
source of high cpu usage edgjerp Linux - Software 4 02-02-2007 03:37 AM
High Cpu usage untak Debian 21 01-23-2007 06:21 AM
cpu usage high corbintechboy VectorLinux 2 07-27-2005 08:11 AM
locking at high CPU usage charon Linux - Newbie 4 03-10-2004 02:21 AM

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

All times are GMT -5. The time now is 05:58 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
Open Source Consulting | Domain Registration