sched.7: Note error that occurs when writing invalid value to /proc/PID/autogroup

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-11-26 15:16:29 +01:00
parent 626dca367b
commit 58627ec0d8
1 changed files with 6 additions and 2 deletions

View File

@ -762,8 +762,12 @@ This file can also be used to modify the CPU bandwidth allocated
to an autogroup.
This is done by writing a number in the "nice" range to the file
to set the autogroup's nice value.
The allowed range is from +19 (low priority) to \-20 (high priority),
and the setting has the same effect as modifying the nice level via
The allowed range is from +19 (low priority) to \-20 (high priority).
(Writing values outside of this range causes
.BR write (2)
to fail with the error
.BR EINVAL .)
The setting has the same effect as modifying the nice level via
.BR getpriority (2).
(For a discussion of the nice value, see
.BR getpriority (2).)