Nicer than nice!

Randal Schwartz merlyn at iwarp.intel.com
Mon Feb 5 16:23:45 AEST 1990


In article <9400 at cat.UUCP>, ad at cat (Axel Dunkel) writes:
| Is there a possibility to change the priority of a process more than a
| 'nice -19' would do? I would like be able to start programs in background
| that get cpu time only if there is nearly nothing 'better' to do, so that
| they don't cosume cpu time while there are other processes (apart from
| init etc. of course) running. (for UNIX Sys V, R3.2).

Nice isn't really a "priority" (the manpage lies) -- just a "hint" to
the scheduler.  There isn't anything in off-the-shelf UNIX that tags
the process as "don't run this unless nobody else is doing much of
anything."

Just another UNIX hacker,
-- 
/=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\
| on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III      |
| merlyn at iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn |
\=Cute Quote: "Welcome to Portland, Oregon, home of the California Raisins!"=/



More information about the Comp.unix.questions mailing list