doc: clarify that renice is needed to adjust niceness

* doc/coreutils.texi (nice invocation): Ensure there is no
ambiguity in the summary in relation to nice being able
to adjust the niceness of an existing process.
Reference the renice command.
* man/nice.x: Reference renice (1)
This commit is contained in:
Pádraig Brady 2012-11-22 14:25:46 +00:00
parent fac673a577
commit 61d66690a5
2 changed files with 7 additions and 3 deletions

View File

@ -15677,8 +15677,9 @@ the exit status of @var{command} otherwise
@cindex scheduling, affecting
@cindex appropriate privileges
@command{nice} prints or modifies a process's @dfn{niceness},
a parameter that affects whether the process is scheduled favorably.
@command{nice} prints a process's @dfn{niceness}, or runs
a command with modified niceness. @dfn{niceness} affects how
favorably the process is scheduled in the system.
Synopsis:
@example
@ -15713,6 +15714,9 @@ built-in utilities}).
@mayConflictWithShellBuiltIn{nice}
Note to change the @dfn{niceness} of an existing process,
one needs to use the @command{renice} command.
The program accepts the following option. Also see @ref{Common options}.
Options must precede operands.

View File

@ -3,4 +3,4 @@ nice \- run a program with modified scheduling priority
[DESCRIPTION]
.\" Add any additional description here
[SEE ALSO]
nice(2)
nice(2), renice(1)