LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Suse/Novell (http://www.linuxquestions.org/questions/suse-novell-60/)
-   -   High CPU usage running Xorg (http://www.linuxquestions.org/questions/suse-novell-60/high-cpu-usage-running-xorg-555054/)

t.j.sorrow 05-18-2007 10:21 PM

High CPU usage running Xorg
 
Hi there,
I have problem on my friends machine. On mine, which has very similar processor / software everything seams to be OK so I don't know where to look for trouble shoot this one. It is PIII 866MHz, 256 MB RAM,kernel2.6.18.2-34-default #1 i686 i686 i386 GNU/Linux. I think it is related to some power settings - This computer hangs up in about an hour of idling and shows close to 100% CPU usage. Is there any log I can look at?


top - 22:59:07 up 1:16, 3 users, load average: 1.00, 0.97, 0.73
Tasks: 100 total, 4 running, 95 sleeping, 1 stopped, 0 zombie
Cpu(s): 99.3%us, 0.7%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 240128k total, 211080k used, 29048k free, 9032k buffers
Swap: 1036152k total, 66408k used, 969744k free, 106948k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3055 root 25 0 66460 16m 2924 R 99.6 7.0 18:52.36 Xorg
4883 cleve 15 0 2252 1012 764 R 0.3 0.4 0:00.16 top
1 root 15 0 744 72 44 S 0.0 0.0 0:02.18 init
2 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
4 root 10 -5 0 0 0 S 0.0 0.0 0:00.25 events/0


Cheers T.J.

PlancksCnst 05-20-2007 09:33 AM

You can see what percentage of CPU time each process is using by issuing:
Code:

ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed '/^ 0.0 /d'


All times are GMT -5. The time now is 07:11 AM.