[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nice bug
Re: nice bug
Sat, 30 Mar 2002 11:35:53 -0700
> address@hidden:~/tcl$ nice -ADJUST xdos
Thanks for the report. The documentation perhaps is not completely
clear that ADJUST is meant to be a number.
> -ADJUST increment priority by ADJUST first
> Range goes from -20 (highest priority) to 19 (lowest).
Several traditional commands like nice, head, tail, etc. all would
take -NUMBER (NUMBER being a number) but that is an inconsistent
interface and today's wisdom says all options should be an option
followed by an argument. So the prefered syntax would be -n 10
instead of -10, for example.
The normal usage of nice is something like the following.
nice -n 10 xdos
As always 'info nice' will get you the documentation.
Hope that helps to clear that up.
> nice: invalid option -- A
> Try `nice --help' for more information.
> address@hidden:~/tcl$ nice --help
> Usage: nice [OPTION]... [COMMAND [ARG]...]
> Run COMMAND with an adjusted scheduling priority.
> With no COMMAND, print the current scheduling priority. ADJUST is 10
> by default.
> -n, --adjustment=ADJUST same as -ADJUST
> --help display this help and exit
> --version output version information and exit
> Report bugs to <address@hidden>.
> address@hidden:~/tcl$ uname -a
> Linux dsnra2 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i686 unknown
> address@hidden:~/tcl$ nice --version
> nice (GNU sh-utils) 2.0
> Written by David MacKenzie.
> Copyright (C) 1999 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> I hope this is sufficient information.
> Tom Kuiper
> Internet: address@hidden (126.96.36.199)
> SnailMail: Jet Propulsion Lab 169-506, Pasadena, CA 91109
> Phone/fax: (818) 354-5623/8895
> WWW: http://DSNra.JPL.NASA.gov/~kuiper/
- nice bug, Tom Kuiper, 2002/03/29
- Re: nice bug,
Bob Proulx <=