LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   why is my cpu always hight (https://www.linuxquestions.org/questions/linux-desktop-74/why-is-my-cpu-always-hight-861074/)

YubahaQ 02-06-2011 05:11 PM

why is my cpu always hight
 
why is my cpu always hight (50% to 90% within doing simple things)
I'm using ubuntu 10.10
processor : 2.8 Gh & Ram : 1.2 Gb
please help me

syg00 02-06-2011 05:54 PM

Run this from a terminal and post the top.txt it creates here
Code:

top -n 1 -b | head -n 20 > top.txt

YubahaQ 02-06-2011 06:09 PM

Quote:

Originally Posted by syg00 (Post 4250300)
Run this from a terminal and post the top.txt it creates here
Code:

top -n 1 -b | head -n 20 > top.txt

top - 00:07:28 up 11:41, 3 users, load average: 2.06, 1.81, 1.78
Tasks: 187 total, 1 running, 186 sleeping, 0 stopped, 0 zombie
Cpu(s): 19.5%us, 7.1%sy, 0.4%ni, 70.9%id, 2.1%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1276352k total, 1228624k used, 47728k free, 115440k buffers
Swap: 999420k total, 24584k used, 974836k free, 631544k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
9499 yubahaq 20 0 537m 149m 32m S 26.9 12.0 15:33.08 firefox-bin
11743 yubahaq 20 0 316m 39m 23m S 5.8 3.1 3:45.96 rhythmbox
1525 yubahaq 9 -11 159m 10m 7484 S 3.8 0.9 12:28.65 pulseaudio
1038 root 20 0 72492 30m 15m S 1.9 2.4 37:20.30 Xorg
1522 yubahaq 20 0 54816 15m 6528 S 1.9 1.2 14:42.40 compiz
1641 yubahaq 20 0 31472 8708 7192 S 1.9 0.7 8:19.85 bubblemon-gnome
10815 yubahaq 20 0 142m 34m 22m S 1.9 2.7 3:02.42 plugin-containe
12399 yubahaq 20 0 2616 1112 808 R 1.9 0.1 0:00.01 top
1 root 20 0 2884 1600 1168 S 0.0 0.1 0:00.56 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:27.44 ksoftirqd/0
4 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0

syg00 02-06-2011 06:17 PM

Run it again when the CPU% is high - from that it looks like F/F.
In future use code-tags to preserve the layout.

YubahaQ 02-06-2011 06:18 PM

You can see it also from Here

http://img824.imageshack.us/img824/3...reenshotaa.png

Uploaded with ImageShack.us

syg00 02-06-2011 06:26 PM

Just use the monitor itself then. Click the processes tab and then the %CPU column header to sort descending.

YubahaQ 02-06-2011 06:26 PM

PHP Code:

top 00:26:05 up 12:00,  2 users,  load average2.431.931.83
Tasks
187 total,   3 running184 sleeping,   0 stopped,   0 zombie
Cpu
(s): 19.7%us,  7.2%sy,  0.4%ni70.7%id,  2.1%wa,  0.0%hi,  0.0%si,  0.0%st
Mem
:   1276352k total,  1227812k used,    48540k free,   113500k buffers
Swap
:   999420k total,    25416k used,   974004k free,   627860k cached

  PID USER      PR  NI  VIRT  RES  SHR S 
%CPU %MEM    TIME+  COMMAND                                
 9499 yubahaq   20   0  562m 146m  33m R 55.1 11.8  18
:10.21 firefox-bin                            
 1038 root      20   0 67908  31m  16m R 15.2  2.5  38
:45.95 Xorg                                   
11743 yubahaq   20   0  333m  46m  24m S  5.7  3.7   4
:31.88 rhythmbox                              
12711 yubahaq   20   0  106m  18m  15m S  3.8  1.5   0
:01.34 gnome-system-mo                        
 1522 yubahaq   20   0 54816  15m 6528 S  1.9  1.2  15
:10.25 compiz                                 
 1525 yubahaq    9 
-11  159m  10m 7464 S  1.9  0.9  13:03.42 pulseaudio                             
 1640 yubahaq   20   0  120m  12m 9.9m S  1.9  1.0   1
:24.82 sensors-applet                         
10815 yubahaq   20   0  142m  34m  22m S  1.9  2.7   3
:16.34 plugin-containe                        
    1 root      20   0  2884 1600 1168 S  0.0  0.1   0
:00.56 init                                   
    2 root      20   0     0    0    0 S  0.0  0.0   0
:00.00 kthreadd                               
    3 root      20   0     0    0    0 S  0.0  0.0   0
:28.01 ksoftirqd/0                            
    4 root      RT   0     0    0    0 S  0.0  0.0   0
:00.00 migration/0                            
    5 root      RT   0     0    0    0 S  0.0  0.0   0
:00.00 watchdog/

and thank you again for your help


All times are GMT -5. The time now is 01:49 AM.