Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 2000 16:10:05 -0800 (PST)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        "Steve O'Hara-Smith" <steveo@eircom.net>
Cc:        janb@cs.utep.edu, freebsd-stable@FreeBSD.ORG
Subject:   Re: how can I run utilities at idle time?
Message-ID:  <Pine.BSF.4.21.0011161609260.43795-100000@resnet.uoregon.edu>
In-Reply-To: <20001115183715.371bf7a6.steveo@eircom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 15 Nov 2000, Steve O'Hara-Smith wrote:

> On Wed, 15 Nov 2000 09:59:37 -0700 (MST)
> <janb@cs.utep.edu> wrote:
> 
> > I would like to run a cron type service, but the utilities run from this
> > servic (updating the locate database, for example) should only take up
> > idle time on the computer. Does anybody know how to do this?
> 
> 	idprio is the tool for doing this.
> 
> 	There were some comments a while back that rtprio and idprio had problems and
> should not be used. Is this still the case (searching the archives is giving too many
> irrelevant hits) ?
> 

It is trivially easy to create system-hanging deadlocks with idprio.  Use
nice instead.  If you need an example, try running setiathome at
idprio.

Doug White                    |  FreeBSD: The Power to Serve
dwhite@resnet.uoregon.edu     |  www.FreeBSD.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011161609260.43795-100000>