Newsgroups: comp.sys.sgi.misc,comp.parallel.pvm
From: js9s@uvahev.phys.Virginia.EDU (jg_sun)
Subject: once again, nice, setpriority, etc
Organization: University of Virginia
Date: Tue, 5 Jul 1994 00:52:52 GMT
Message-ID: <JS9S.94Jul4205252@uvahev.phys.Virginia.EDU>



Well, wired thing happens. I can use /etc/renice to set
the nice level of a process, which is execd by another 
process.  However, I can not change the nice level inside
the process by calling setprority or nice, it always
has the same nice level of the parent process no matter 
what I do.   I was wondering if this had anything
to do with the SYSV process group scheme,  and did
a setsid(), and it did not help either.  How did
the SGI people do the renice? 

This thing happened when I use pvm. I want one of the
slave processes spawned by pvmd3 has lower priority. But
as I said above, the slave process always had same priority
as the pvmd3 no matter what I did.  If anybody has
some idea of doing this inside pvm, that will be very
helpful too.

thanks.

j.g.

