LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   idle loop? (https://www.linuxquestions.org/questions/%2Absd-17/idle-loop-591797/)

DigiCrime 10-14-2007 07:32 PM

idle loop?
 
I'm curious as to why the idle process is stuck or is it just a bsd thing? I use linux but turned all my servers into bsd because they stay up longer and run better lol but Im not sure why idle is stuck

USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 10 62.9 0.0 0 8 ?? RL 5Aug07 82131:38.56 [idle]

last pid: 52790; load averages: 0.40, 0.74, 0.84 up 69+21:03:33 19:32:16
112 processes: 8 running, 104 sleeping
CPU states: 22.8% user, 0.0% nice, 12.0% system, 0.4% interrupt, 64.8% idle
Mem: 390M Active, 270M Inact, 164M Wired, 25M Cache, 110M Buf, 139M Free
Swap:

PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND



Load seems to be fine and pages load fine on the server could be a little faster but I really can't complain.

gkiagia 10-15-2007 03:18 AM

It's not stuck. The idle process is meant to use all the available cpu time to execute no-op commands to let the processor go idle. Windows NT also uses this pseudo-process, Linux doesn't (because it has other techniques).

And in case you don't understand what "idle" means...
Quoting wikipedia:
"A computer processor or communication circuit is described as idle when it is not being used by any program, application or message."

DigiCrime 10-15-2007 05:44 AM

Thanks for the response


All times are GMT -5. The time now is 04:31 AM.