View previous topic :: View next topic |
Author |
Message |
wisdom Tux's lil' helper
Joined: 26 May 2002 Posts: 101 Location: sweden
|
Posted: Wed Jun 26, 2002 1:53 am Post subject: Fullload CPU |
|
|
Gkrellm shows that my cpu is fulload even if i daont do anyting? What can be wrong?
I dont know what information I should post so you can tell me what it's that you want to see |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20053
|
Posted: Wed Jun 26, 2002 1:58 am Post subject: |
|
|
From a terminal, run top... something is hogging your resources. Look at the %CPU column.
You can also try running gtop... not sure what that comes with, so you may not have it. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Damasz Tux's lil' helper
Joined: 24 Apr 2002 Posts: 91 Location: Groningen, the Netherlands
|
Posted: Wed Jun 26, 2002 9:34 am Post subject: |
|
|
You might have enabled a apm kernel option that makes "idle" calls to the cpu when it's not doing anything. If your processor is put in the idle state, it consumes less power and runs cooler. This is particularly useful for laptops, where putting the cpu in the idle state helps prolong battery lifetime.
You'll probably see a "kidled" proccess running on your box with top. |
|
Back to top |
|
|
wisdom Tux's lil' helper
Joined: 26 May 2002 Posts: 101 Location: sweden
|
Posted: Wed Jun 26, 2002 10:08 am Post subject: |
|
|
12:07pm up 2 days, 3:30, 2 users, load average: 1.29, 1.07, 1.02
52 processes: 48 sleeping, 4 running, 0 zombie, 0 stopped
CPU states: 22.7% user, 77.2% system, 0.0% nice, 0.0% idle
Mem: 255472K av, 245192K used, 10280K free, 0K shrd, 18656K buff
Swap: 417648K av, 1864K used, 415784K free 176424K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
2921 root 25 0 1032 1032 792 R 94.5 0.4 489:54 top
2949 root 15 0 82180 16M 2216 S 2.5 6.4 2:19 X
3047 gurkan 15 0 23604 23M 16340 S 2.4 9.2 0:04 galeon-bin
3017 root 15 0 1020 1020 792 R 0.2 0.3 0:39 top
3012 root 15 0 2448 2440 1836 R 0.1 0.9 0:05 xterm
1 root 15 0 512 468 444 S 0.0 0.1 0:06 init
2 root 15 0 0 0 0 SW 0.0 0.0 0:00 keventd
3 root 34 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU0
4 root 15 0 0 0 0 SW 0.0 0.0 0:02 kswapd
Its ful loaf even if i not run top!!! |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20053
|
Posted: Wed Jun 26, 2002 4:29 pm Post subject: |
|
|
Very strange. Especially the part showing nearly all of your memory being used.
I'm at a loss... have you tried rebooting? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Utoxin Guru
Joined: 19 Apr 2002 Posts: 413 Location: American Fork, UT
|
Posted: Wed Jun 26, 2002 4:34 pm Post subject: |
|
|
Most of his memory is being used by Cache/Buffer. Not A Big Deal. (This is a /VERY/ common misunderstanding about the linux memory architecture. Heck, I used to fall for it.) _________________ Gentoo:
1. A small fast penguin from Antarctica.
2. A small fast penguin on your computer.
Cool. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20053
|
Posted: Wed Jun 26, 2002 4:37 pm Post subject: |
|
|
Good to know... thanks for the tip Utoxin. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
AutoBot l33t
Joined: 22 Apr 2002 Posts: 968 Location: Usually Out
|
Posted: Wed Jun 26, 2002 5:14 pm Post subject: |
|
|
I have noticed sometimes if you run top and then close it, it doesn't actually close same goes for nano, they both hang and cause high cpu usage.
Try killall top as root incase you ran it as root then see what your usage is on gkrellm. _________________ This message self destructed a long time ago.
Last edited by AutoBot on Wed Jun 26, 2002 5:51 pm; edited 1 time in total |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20053
|
Posted: Wed Jun 26, 2002 5:20 pm Post subject: |
|
|
I'm curious to find out if the problem is persistant through reboots. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
icespirit n00b
Joined: 20 Jun 2002 Posts: 2 Location: UK
|
Posted: Thu Jun 27, 2002 2:02 am Post subject: kill top |
|
|
The cpu is high because you have two instances of top running. |
|
Back to top |
|
|
AutoBot l33t
Joined: 22 Apr 2002 Posts: 968 Location: Usually Out
|
Posted: Thu Jun 27, 2002 2:19 am Post subject: |
|
|
Thats exactally what I said, except I just noticed it in the list above _________________ This message self destructed a long time ago. |
|
Back to top |
|
|
wisdom Tux's lil' helper
Joined: 26 May 2002 Posts: 101 Location: sweden
|
Posted: Thu Jun 27, 2002 2:45 am Post subject: |
|
|
ok thanks! I rebooted and its know working as usual.
I have notis that nano and top hangs sometimes anyone know why? |
|
Back to top |
|
|
AutoBot l33t
Joined: 22 Apr 2002 Posts: 968 Location: Usually Out
|
Posted: Thu Jun 27, 2002 3:59 am Post subject: |
|
|
I have quite a few optimizations on my system is perhaps why, but I'm not sure it is even that. _________________ This message self destructed a long time ago. |
|
Back to top |
|
|
styzzo n00b
Joined: 26 Jun 2002 Posts: 32 Location: Bellmore, NY, USA
|
Posted: Thu Jun 27, 2002 6:21 am Post subject: |
|
|
wisdom wrote: | ok thanks! I rebooted and its know working as usual.
I have notis that nano and top hangs sometimes anyone know why? |
Even though it would seem the gentoo folk would like us to use nano, I still prefer pico. You can get it by doing:
|
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20053
|
Posted: Thu Jun 27, 2002 6:38 am Post subject: |
|
|
vi or bust _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
AutoBot l33t
Joined: 22 Apr 2002 Posts: 968 Location: Usually Out
|
Posted: Thu Jun 27, 2002 6:39 am Post subject: |
|
|
I'm not entirely sure this is a nano bug, since other applications do this aswell. _________________ This message self destructed a long time ago. |
|
Back to top |
|
|
|