]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: clarify that renice is needed to adjust niceness
authorPádraig Brady <P@draigBrady.com>
Thu, 22 Nov 2012 14:25:46 +0000 (14:25 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 24 Nov 2012 15:38:16 +0000 (15:38 +0000)
* 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)

doc/coreutils.texi
man/nice.x

index cc9df7d431c79d7606d592fa86d4c146db73d492..166c41e239c09ffd1d3f44212c4c8bade526ded7 100644 (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.
 
index 3448d6997f69d912f53d3e324bc8047efb9f6aa6..952cb10730b85f9c60c2e310b30984367484a492 100644 (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)