This is a discussion on How do I run emerge at a lower priority? within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> On a long emerge I wish to do something like: nice -n 5 emerge -auvDN world The python process ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On a long emerge I wish to do something like: nice -n 5 emerge -auvDN world The python process runs at a nice value of 5 that way, but the compiler (and anything else called by emerge) doesn't :P Any way I can achieve what I want? |
| |||
| On Friday 20 June 2008 14:52, Nikos Chantziaras wrote: > On a long emerge I wish to do something like: > > nice -n 5 emerge -auvDN world > > The python process runs at a nice value of 5 that way, but the compiler > (and anything else called by emerge) doesn't :P > > Any way I can achieve what I want? Look up "PORTAGE_NICENESS" in /etc/make.conf. Not sure it does what you want though. -- All the commands are tested with bash and GNU tools, so they may use nonstandard features. I try to mention when something is nonstandard (if I'm aware of that), but I may miss something. Corrections are welcome. |
| |||
| Nikos Chantziaras wrote: > On a long emerge I wish to do something like: > > nice -n 5 emerge -auvDN world > > The python process runs at a nice value of 5 that way, but the compiler > (and anything else called by emerge) doesn't :P > > Any way I can achieve what I want? Have you set the PORTAGE_NICENESS ? Think that could override your nice command when it comes to the compiler. -- //Aho |
| ||||
| pk wrote: > On Friday 20 June 2008 14:52, Nikos Chantziaras wrote: > >> On a long emerge I wish to do something like: >> >> nice -n 5 emerge -auvDN world >> >> The python process runs at a nice value of 5 that way, but the compiler >> (and anything else called by emerge) doesn't :P > > Look up "PORTAGE_NICENESS" in /etc/make.conf. Not sure it does what you want > though. Thanks pk and J.O. Aho. It was an RTFM matter :P (http://gentoo-wiki.com/TIP_nice_and_PORTAGE_NICENESS). It does exactly what I want |