bin/74227: renice odd behavior
Robert Watson
rwatson at FreeBSD.org
Mon Nov 22 11:30:47 GMT 2004
The following reply was made to PR bin/74227; it has been noted by GNATS.
From: Robert Watson <rwatson at FreeBSD.org>
To: FreeBSD-gnats-submit at FreeBSD.org
Cc:
Subject: Re: bin/74227: renice odd behavior
Date: Mon, 22 Nov 2004 11:26:01 +0000 (GMT)
robert at 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 at fledge.watson.org Principal Research Scientist, McAfee Research
More information about the freebsd-bugs
mailing list