[olug] Running programs with nice

Jay Swackhamer Jay at RebootTheUser.com
Thu Jan 22 19:03:09 UTC 2004


There's a directive in your /etc/make.conf


#
# PORTAGE_NICENESS provides a default increment to emerge's niceness level.
#     Note: This is an increment. Running emerge in a niced environment will
#     reduce it further. Default is unset.
#PORTAGE_NICENESS=3
#


> 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
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>


-- 
Jay Swackhamer
Reboot The User
15791 West Dodge Road
Suite 135
Omaha, NE 68118
(402) 933-6449
(402) 933-6456 Fax
http://www.RebootTheUser.com


More information about the OLUG mailing list