process priority

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: plug@arcticmail.complugarcticmail.com
Date:  
Subject: process priority
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