Process priorities and X

bros at convex.com bros at convex.com
Sat Jul 7 00:12:46 AEST 1990


In article <1990Jul4.160042.562 at smsc.sony.com>, dce at smsc.sony.com (David
Elliott) writes:

> In System V.2 and better versions of sh, the default is to automatically
> nice down (by 4) all processes started in the background.
> 
> In other words, it probably isn't twm starting the processes at a
> lower priority, but the shell.  If you have source for sh, you can
> recompile it to not nice down background jobs.  Another option is
> to write your own "background" command that runs, using the shell,
> the command[s] you need in the background (by forking and redirecting
> the process itself, instead of giving a & to the shell).
> as arguments 

The korn shell (ksh) has an option called "bgnice" which may be turned
off to prevent background jobs being niced.  You might check if your
shell has a similar option.


Andrew Bros				bros at convex.com
Product Engineering			or try:
Convex [Super]Computer Corp.		ab27 at andrew.cmu.edu



More information about the Comp.unix.questions mailing list