1NICE(2)                       System Calls Manual                      NICE(2)
2
3
4

NAME

6       nice - set program priority
7

SYNOPSIS

9       nice(incr)
10

DESCRIPTION

12       The  scheduling priority of the process is augmented by incr.  Positive
13       priorities get less service than normal.  Priority 10 is recommended to
14       users  who  wish to execute long-running programs without flak from the
15       administration.
16
17       Negative increments are ignored except on  behalf  of  the  super-user.
18       The priority is limited to the range -20 (most urgent) to 20 (least).
19
20       The priority of a process is passed to a child process by fork(2).  For
21       a privileged process to return  to  normal  priority  from  an  unknown
22       state,  nice  should be called successively with arguments -40 (goes to
23       priority -20 because of truncation), 20 (to get to 0), then 0 (to main‐
24       tain compatibility with previous versions of this call).
25

SEE ALSO

27       nice(1)
28

ASSEMBLER

30       (nice = 34.)
31       (priority in r0)
32       sys nice
33
34
35
36                                                                       NICE(2)
Impressum