You'd have to run the 'nice' via a shell script.

I'm fairly certain that if you had a shell script that kicked off
lavrec, within it, you could call 'renice -n 10 $$' or start lavrec with
'nice -n 10 lavrec', and it would get started appropriately.

Also, I thought that lavrec made some attempts to 'renice' itself.
maybe it needs to be setuid root for that to happen?

Scott

On Wed, 4 Jun 2003, Dirk wrote:

> On Wed, Jun 04, 2003 at 07:53:35AM -0500, Scott Moser wrote:
> > I once had problems with 'at' versus 'cron'.  Cron jobs worked fine, at
> > jobs didn't.  Tured out that it was a priority issue.  By default 'at'
> > starts jobs with a low priority.
> >
> > Try putting the jobs in a higher que with at -q:
> >    (from 'man at')
> >    Queues with higher letters run with increased niceness
> >
> > If thats the problem, the other thing you can do is start the process
> > with a higher value via nice.
> >
> I tried nice but that didn't work. But maybe the "at" priority is
> dominant.
>
> I am going to try this tonight.
>
> Thanks so far.
>
> Dirk
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
> thread debugger on the planet. Designed with thread debugging features
> you've never dreamed of, try TotalView 6 free at www.etnus.com.
> _______________________________________________
> Mjpeg-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/mjpeg-users
>



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to