Skip site navigation (1)Skip section navigation (2)
Date:      14 Jul 2001 03:05:48 -0000
From:      Sean Chittenden <sean@chittenden.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        sean@chittenden.org
Subject:   docs/28958: nice(1) documentation incorrect
Message-ID:  <20010714030548.72991.qmail@wheel.tgd.net>

next in thread | raw e-mail | index | archive | help

>Number:         28958
>Category:       docs
>Synopsis:       nice(1) documentation incorrect
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 13 20:10:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Sean Chittenden
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD wheel.tgd.net 4.3-STABLE FreeBSD 4.3-STABLE #0: Wed Jul 11 12:12:05 PDT 2001 sean@wheel.tgd.net:/usr/src/sys/compile/WHEEL i386


	
>Description:
	The nice(1) man page seems to give incorrect usage of the command.  nice --20 doesn't yield a priority of -20 (gives error actually).  nice -20 give a niceness of -20.
>How-To-Repeat:
	nice --20 date
>Fix:

	Negative numbers are expressed as -number. Positive numbers are expressed as +number

	(in Examples:)

	nice -16 date

	I'd like to also see an example of a nice +20 command....

	nice +20 make

	Execute command  `make` at priority +20 so that normal user operations aren't disturbed as much.


	Maybe the `make` command should be replaced with setiathome or rc5 just to drive the point home.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010714030548.72991.qmail>