From owner-freebsd-stable Thu Nov 16 16:10:43 2000 Delivered-To: freebsd-stable@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id 7A75337B479 for ; Thu, 16 Nov 2000 16:10:35 -0800 (PST) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.10.1/8.10.1) with ESMTP id eAH0A6e45380; Thu, 16 Nov 2000 16:10:06 -0800 (PST) Date: Thu, 16 Nov 2000 16:10:05 -0800 (PST) From: Doug White To: "Steve O'Hara-Smith" Cc: janb@cs.utep.edu, freebsd-stable@FreeBSD.ORG Subject: Re: how can I run utilities at idle time? In-Reply-To: <20001115183715.371bf7a6.steveo@eircom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 15 Nov 2000, Steve O'Hara-Smith wrote: > On Wed, 15 Nov 2000 09:59:37 -0700 (MST) > 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