1NICE(3C)                                                              NICE(3C)
2
3
4

NAME

6       nice - set program priority
7

SYNOPSIS

9       nice(incr)
10

DESCRIPTION

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

SEE ALSO

29       nice(1), setpriority(2), fork(2), renice(8)
30
31
32
334th Berkeley Distribution         May 9, 1985                         NICE(3C)
Impressum