Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2003 16:12:03 +0300
From:      Dmitry Alyabyev <dimitry@al.org.ua>
To:        "Craig Reyenga" <creyenga@connectmail.carleton.ca>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: Users and setpriority()
Message-ID:  <200304091612.03211.dimitry@al.org.ua>
In-Reply-To: <000701c2fe98$f0cc4c40$0200000a@fireball>
References:  <000701c2fe98$f0cc4c40$0200000a@fireball>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 09 April 2003 16:07, Craig Reyenga wrote:
> First on topic post!
>
> Currently, setpriority() doesn't allow non- uid 0 users to use a nice value
> above 0. If you set "priority" in /etc/login.conf to a higher value, all
> you are doing is making every stinking process on the system run at that
> value initially, which is a disaster. My question is: Is there, or will
> there be a facility to allow certain non-root users to set higher/raise
> nice values? This would be a dream for desktop machines where there is
> essentially one user, because that user could have a non-zero uid, and
> control of process scheduling.

'sudo /usr/bin/renice' will help

-- 
Dimitry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304091612.03211.dimitry>