|
Linux Forum Index » Linux - Gentoo Forum » How do I run emerge at a lower priority?...
Page 1 of 1
|
| Author |
Message |
| Nikos Chantziaras... |
Posted: Fri Jun 20, 2008 7:52 am |
|
|
|
Guest
|
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? |
|
|
| Back to top |
|
| pk... |
Posted: Fri Jun 20, 2008 7:59 am |
|
|
|
Guest
|
On Friday 20 June 2008 14:52, Nikos Chantziaras wrote:
Quote: 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. |
|
|
| Back to top |
|
| J.O. Aho... |
Posted: Fri Jun 20, 2008 8:02 am |
|
|
|
Guest
|
Nikos Chantziaras wrote:
Quote: 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 |
|
|
| Back to top |
|
| Nikos Chantziaras... |
Posted: Fri Jun 20, 2008 5:28 pm |
|
|
|
Guest
|
pk wrote:
Quote: 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
(http://gentoo-wiki.com/TIP_nice_and_PORTAGE_NICENESS).
It does exactly what I want  |
|
|
| Back to top |
|
| |