NICE(II)                     3/15/72                     NICE(II)







NAME

     nice - set program priority



SYNOPSIS

     (nice = 34.)

     (priority in r0)

     sys nice



     nice(priority)



DESCRIPTION

     The currently executing process is  set  into  the  priority

     specified   by  priority.   If  priority  is  positive,  the

     priority of the process is below default;  if  negative  the

     process  must  be the super-user and its priority is raised.

     The valid range of priority is 20 and -220.  The value of 16

     is  recommended  to  users  who wish to execute long-running

     programs without flak from the administration.



     The effect of this call is passed to a child process by  the

     fork  system  call.   The effect can be cancelled by another

     call to nice with a priority of 0.



SEE ALSO

     nice(I)



DIAGNOSTICS

     The error bit (c-bit) is set if the user requests a priority

     outside the range of 0 to 20 and is not the super-user.