automatically using "nice"
Simon Barner
barner at in.tum.de
Tue Jul 1 18:25:05 PDT 2003
Hi,
> is there a way to have the system automatically use nice on all
> command-line apps during a session? i don't want to keep typing it over
> and over every time i run a batch script or compilation.
You could either modify your scripts to use nice, or start a new shell
with an appropriate nice level. All the processes you launch from that
shell will inherit the nice level of that shell:
$ nice -20 <your favourite shell>
> compile compile compile, ... :-)
HTH,
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/20030702/264fc389/attachment.bin
More information about the freebsd-questions
mailing list