Date: Mon, 22 Nov 2004 11:30:46 GMT From: Robert Watson <rwatson@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/74227: renice odd behavior Message-ID: <200411221130.iAMBUk0A083506@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/74227; it has been noted by GNATS. From: Robert Watson <rwatson@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: bin/74227: renice odd behavior Date: Mon, 22 Nov 2004 11:26:01 +0000 (GMT) robert@fledge.watson.org Principal Research Scientist, McAfee Research On Mon, 22 Nov 2004, Jorge Mario G. Mazo wrote: > >Description: > When you renice a proces to 20 and the you renice it to -20 > it wont jump from 20 to -20. it'll jump from 20 to 0 > so you have to renice it again to actually get the -20 value > *Same thing happens backwards (-20 to 20) Isn't this the documented behavior of -n in renice(8): -n Instead of changing the specified processes to the given prior- ity, interpret the following argument as an increment to be applied to the current priority of each process. Does renice work as desired if you omit the "-n" from the command line? Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411221130.iAMBUk0A083506>