process priority
plug@arcticmail.com
plug@arcticmail.com
Tue, 18 Jul 2000 14:28:25 -0700
Only a login with root privileges (UID 0) can give a
process a higher priority.
Normal logins can only lower the priority of a process,
hence the name "nice."
So, if you normally run as a normal login, you'll need
to permit your login to execute "renice" via sudo, or
something similar, if you want mpg123 to run at a
higher priority.
D
* On Tue, Jul 18, 2000 at 02:00:16AM -0700, shock wrote:
> I have a question that I hope someone here can help
> me answer.
> I understand how to change a processes priority while
> it is running with renice. What I would like to know is
> how to start an application at a higher priority.
> For instance, if I wanted to run mpg123 with a higher
> priority, how would I do it? I could script it, but
> is there another way?
> Any suggestions on where to look? I've read through
> all of the man pages that I could find on processes.
> nice, renice, setpriority...
> Thank you,
> -JR