Re: [process priority] Questions about re/nice
Mike McCarty wrote:
[...]
>>
>>
>
> $ alias mplayer="nice -n -20 /usr/local/bin/mplayer"
>
> Or a script.
>
> As to whether this may cause prolems with starving other processes,
> I don't know. Certainly, if possible, another solution is preferable.
>
> Mike
I've already considered this solution, but it doesn't work, because of root
permissions needed: if I run this command as a normal user, here's the result:
$ nice -n -20 /usr/local/bin/mplayer
nice: cannot set priority: Permission denied
I want to always run the process with maximum priority as normal user.
Thanks,
Bye
Reply to: