From owner-freebsd-questions Tue Mar 20 19:25:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dojo.tao.ca (tao.ca [198.96.117.188]) by hub.freebsd.org (Postfix) with ESMTP id 601F037B730 for ; Tue, 20 Mar 2001 19:25:36 -0800 (PST) (envelope-from anarcat@tao.ca) Received: by dojo.tao.ca (Postfix, from local user) id 6594F4E8F; Tue, 20 Mar 2001 22:25:30 -0500 (EST) Date: Tue, 20 Mar 2001 22:25:30 -0500 From: anarcat To: questions@freebsd.org Subject: Can't use nice to lower ports build priority Message-ID: <20010320222530.A21759@dojo> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Uptime: 10:06pm up 45 days, 23:52, 19 users, load average: 0.43, 0.44, 0.36 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --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