Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: "nice"ing processes



Timothy J Luoma wrote:
>say I want to run a CPU intensive program (like gzip on a large  
>file) and want to do so with the least amount of impact  
>(cpu/whatnot).
>
>What should I do?

nice it.  With nice(1).

example% nice gzip large_file &

>                   Running it in the background doesn't seem to  
>make that much of a difference.

If you have the BG_NICE option set, jobs started in the background will
be niced automatically.

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author