LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 10-14-2007, 07:32 PM   #1
DigiCrime
Member
 
Registered: Dec 2002
Location: St. Louis
Distribution: All Flavors
Posts: 193

Rep: Reputation: 30
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.
 
Old 10-15-2007, 03:18 AM   #2
gkiagia
Member
 
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Rep: Reputation: 30
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."
 
Old 10-15-2007, 05:44 AM   #3
DigiCrime
Member
 
Registered: Dec 2002
Location: St. Louis
Distribution: All Flavors
Posts: 193

Original Poster
Rep: Reputation: 30
Thanks for the response
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to loop over text file lines within bash script for loop? johnpaulodonnell Linux - Newbie 8 04-05-2011 09:18 AM
bash loop within a loop for mysql ops br8kwall Programming 10 04-30-2008 03:50 AM
converting shell while loop to for loop farkus888 Programming 8 09-12-2007 02:30 AM
Ubuntu Goes Idle, Really! drumstick Ubuntu 1 10-18-2006 06:46 PM
for loop only works properly on first loop symo0009 Programming 1 12-25-2005 05:17 PM


All times are GMT -5. The time now is 03:06 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration