From owner-freebsd-questions@FreeBSD.ORG Tue Nov 4 15:15:05 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9171916A4CF for ; Tue, 4 Nov 2003 15:15:05 -0800 (PST) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 579FB43FF7 for ; Tue, 4 Nov 2003 15:15:04 -0800 (PST) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id D9C0D288; Wed, 5 Nov 2003 00:15:02 +0100 (CET) Date: Wed, 5 Nov 2003 00:15:02 +0100 From: Simon Barner To: Zev Thompson Message-ID: <20031104231502.GG796@zi025.glhnet.mhn.de> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BzCohdixPhurzSK4" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de cc: freebsd-questions@freebsd.org Subject: Re: Recursive renice? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2003 23:15:05 -0000 --BzCohdixPhurzSK4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > I'm curious whether there's an easy way to renice(8) a process and all=20 > of its children in one simple command. For example, I might start a=20 > recursive make, which spawns lots of processes, and want them all to=20 > change priority at once. In this special case with recursive makes you could also interrupt the build and re-start it with appropriate nice settings: e.g. /usr/bin/nice -n 20 make build Simon --BzCohdixPhurzSK4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/qDL2Ckn+/eutqCoRAiunAJ95DLe7pWPpD4GrSXZVFq18YfnXyACgrPVK 7lJM2XxxqSlIOFIk3pEPxZM= =paD1 -----END PGP SIGNATURE----- --BzCohdixPhurzSK4--