Recursive renice?

Simon Barner barner at in.tum.de
Tue Nov 4 15:15:05 PST 2003


> I'm curious whether there's an easy way to renice(8) a process and all 
> of its children in one simple command. For example, I might start a 
> recursive make, which spawns lots of processes, and want them all to 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031105/d260223e/attachment.bin


More information about the freebsd-questions mailing list