Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2003 19:11:38 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Joe Altman <fj@panix.com>, freebsd-questions@freebsd.org
Subject:   Re: On 5.1, what is the process named "idle"?
Message-ID:  <20030912021138.GA8792@rot13.obsecurity.org>
In-Reply-To: <20030912020538.GA22921@panix.com>
References:  <20030912000405.GA5982@panix.com> <20030912003951.GA2226@plewe.is.tsukuba.ac.jp> <20030912005001.GD8251@rot13.obsecurity.org> <20030912020538.GA22921@panix.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--k1lZvvs/B4yU6o8G
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 11, 2003 at 10:05:38PM -0400, Joe Altman wrote:

> > The idle task is the kernel thread that runs when the kernel is not
> > doing anything else more meaningful like running user processes or
> > servicing I/O.  It takes care of running some low-priority tasks like
> > pre-zeroing memory pages in preparation for future demand.
>=20
> So, should it be in a constant state of RUN, and consume more than 90%
> of CPU and WCPU for more than twenty four hours?

If your machine is more than 90% idle, yes.

> I've taken another look at this, and just noticed that there are tasks
> with NICE ranging from 52 to -187 in 'top -SU root'...I'm not freaked
> out by this, but note that I read the man page which indicates that
> possible values range from 20 to -20.

Yes, read what the -S option to top does.

Kris

--k1lZvvs/B4yU6o8G
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/YStaWry0BWjoQKURAjzbAKDrwqzAcU6DdsHPDT/9FXlmBkn+kACcCXYM
TkdhrQtlaYZ8+ZB388NBkIc=
=CujG
-----END PGP SIGNATURE-----

--k1lZvvs/B4yU6o8G--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030912021138.GA8792>