Date: Sat, 13 Dec 1997 23:31:26 -0600 From: Dan Nelson <dnelson@emsphone.com> To: "Matthew D. Fuller" <fullermd@futuresouth.com> Cc: questions@freebsd.org Subject: Re: nice question Message-ID: <19971213233126.62113@emsphone.com> In-Reply-To: <Pine.BSF.3.96.971213204729.14842B-100000@shell.futuresouth.com>; from "Matthew D. Fuller" on Sat Dec 13 20:51:22 GMT 1997 References: <Pine.BSF.3.96.971213204729.14842B-100000@shell.futuresouth.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971213233126.62113>