Date: Wed, 5 Nov 2003 00:15:02 +0100 From: Simon Barner <barner@in.tum.de> To: Zev Thompson <zevt@schemasoft.com> Cc: freebsd-questions@freebsd.org Subject: Re: Recursive renice? Message-ID: <20031104231502.GG796@zi025.glhnet.mhn.de> In-Reply-To: <B55D6E30-0EFC-11D8-AABE-000A27AFDA88@schemasoft.com> References: <B55D6E30-0EFC-11D8-AABE-000A27AFDA88@schemasoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031104231502.GG796>