[olug] Running programs with nice
    Ken 
    emptymm at cox.net
       
    Thu Jan 22 19:07:24 UTC 2004
    
    
  
Tim Bornholtz wrote:
> Is there a way to change the default nice value for a program?
> 
> I'm using gentoo and I'd like emerge (like yum or rpm) to always run 
> with a nice level of 19.
> I can start it with `nice -n 19 emerge` but I'm lazy and want to just 
> type `emerge` and have it run with a very low priority.
> 
> Thanks,
> Tim
you could also just make a quick executable shell script and put it into 
your path IE: /root/bin/nmerge
#!/bin/sh
nice -n 19 emerge
then just type "nmerge" as root to run...
-Ken
    
    
More information about the OLUG
mailing list