POV-Ray : Newsgroups : povray.unix : nice (thought?) : Re: nice (thought?) Server Time
28 Jul 2024 18:21:58 EDT (-0400)
  Re: nice (thought?)  
From: Mark Gordon
Date: 11 Jan 2000 20:18:23
Message: <387BD69E.F907B2EE@mailbag.com>
Spider wrote:
> 
> Hewwo folks.
> I'd like to know if it was at all possible to make a certain program
> (POV) run with a nice value other than 0 as default? I use my machine
> for single user tasks, and I'd like to have pov running at -5 (or such)
> as default withouth having to work as root and renice it all the time.
> Then I'd be able to set it to something like 15 for longer renders..
> 
> possible? dumb?

It's easily possible to automatically set a lower priority with an alias
or a front-end script.  It sounds like that's not what you have in mind,
though. ;-)

It should be possible to write a script to get the PID (assuming you
only have one render going) and renice it using "su -c".  It will
require password verification, but it should be much less painful than
doing this manually.  Sound useful, or never mind?

Nice thought, yes. ;-) And nice seeing you again, BTW.

-Mark Gordon


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.