Date: Tue, 20 Mar 2001 22:25:30 -0500 From: anarcat <anarcat@tao.ca> To: questions@freebsd.org Subject: Can't use nice to lower ports build priority Message-ID: <20010320222530.A21759@dojo>
next in thread | raw e-mail | index | archive | help
--RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi. I am witnessing weird nice behavior here. Note that I'm doing this as root. Say I start sh with nice: shall# nice sh it works fine: UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND 0 11250 10712 0 10 4 624 248 wait SN p2 0:00.01 sh Actually, I wonder why nice is not 10, as nice(1) says.. But say I want to nice it to even lower priority: shall# nice -20 sh UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND 0 11252 10712 0 10 -20 624 260 wait S< p2 0:00.01 sh Odd. Considering nice(1) says: "Negative numbers are expressed as --number." What's worse is that: shall# nice --20 sh nice: Badly formed number. shall# I don't get it.=20 Thanks. A. --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.0 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjq4HykACgkQ7uV99pHLOSLpbACfWRpj4ebWCduUN7KS5OgrYoEp TuQAoOfpr4V+r5Is0aOaLhAU5oQ6qhiO =IW9a -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010320222530.A21759>