LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have access to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

Are you new to LinuxQuestions.org? Visit the following links:
Site Howto | Site FAQ | Sitemap | Register Now

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 03-01-2008, 02:52 AM   #1
rock.k
LQ Newbie
 
Registered: Feb 2008
Posts: 5
CPU usage too high!


[Log in to get rid of this advertisement]
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!!
rock.k is offline  
Tag This Post ,
Reply With Quote
Old 03-01-2008, 03:10 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,518
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
blackhole54 is offline     Reply With Quote
Old 03-01-2008, 03:28 AM   #3
dragonslayer48dx
Member
 
Registered: Dec 2006
Location: Rising Sun, Md USA
Distribution: Kubuntu 8.04 LTS
Posts: 595
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
dragonslayer48dx is offline     Reply With Quote
Old 03-01-2008, 04:10 AM   #4
rock.k
LQ Newbie
 
Registered: Feb 2008
Posts: 5
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.
rock.k is offline     Reply With Quote
Old 03-01-2008, 04:48 AM   #5
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,518
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.
blackhole54 is offline     Reply With Quote

Reply

Submit thread to Digg | Submit thread to del.icio.us | Submit to LQ Bookmarks

« Back to Top »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB 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



Add LQ To Your Yahoo Add LQ To Your Google Add LQ To Your MSN Add LQ To Your Blog
All times are GMT -5. The time now is 01:36 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Open Source Consulting | Domain Registration