From owner-freebsd-questions Sat Dec 13 21:31:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA10974 for questions-outgoing; Sat, 13 Dec 1997 21:31:36 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from dan.emsphone.com (dan@dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA10968 for ; Sat, 13 Dec 1997 21:31:30 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.8.6/8.8.6) id XAA03454; Sat, 13 Dec 1997 23:31:26 -0600 (CST) Message-ID: <19971213233126.62113@emsphone.com> Date: Sat, 13 Dec 1997 23:31:26 -0600 From: Dan Nelson To: "Matthew D. Fuller" Cc: questions@freebsd.org Subject: Re: nice question References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88.4e In-Reply-To: ; from "Matthew D. Fuller" on Sat Dec 13 20:51:22 GMT 1997 X-OS: FreeBSD 2.2-970701-RELENG Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In the last episode (Dec 13), Matthew D. Fuller said: > this may be a bug in nice, a bug in the manpage, or a bug in my > understanding here. her's my understanding: nice sets a priority > between -20 and 20 (I'm assuming running as root). 20 is the lowest > priority, 0 is the highest normal priority. > > Here's what I get: > {~} root@mortis: %nice -20 top > and I find this in the output: > 21551 root 51 -20 640K 856K RUN 0:00 4.80% 0.46% top > ^^^^ > Note that this is at -20, not +20. > Then, if I do this: > {~} root@mortis: %nice --20 top > nice: Badly formed number. Another reason not to use csh :) Csh has a builtin 'nice' command with different arguments than /usr/bin/nice. man csh and search for 'nice'. -Dan Nelson dnelson@emsphone.com