mirror of https://github.com/mkerrisk/man-pages
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:
parent
626dca367b
commit
58627ec0d8
|
@ -762,8 +762,12 @@ This file can also be used to modify the CPU bandwidth allocated
|
||||||
to an autogroup.
|
to an autogroup.
|
||||||
This is done by writing a number in the "nice" range to the file
|
This is done by writing a number in the "nice" range to the file
|
||||||
to set the autogroup's nice value.
|
to set the autogroup's nice value.
|
||||||
The allowed range is from +19 (low priority) to \-20 (high priority),
|
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
|
(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).
|
.BR getpriority (2).
|
||||||
(For a discussion of the nice value, see
|
(For a discussion of the nice value, see
|
||||||
.BR getpriority (2).)
|
.BR getpriority (2).)
|
||||||
|
|
Loading…
Reference in New Issue