Users and setpriority()

Dmitry Alyabyev dimitry at
Wed Apr 9 06:12:07 PDT 2003

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


More information about the freebsd-performance mailing list