*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> nice (3)              
Title
Content
Arch
Section
 

NICE(3)

Contents


NAME    [Toc]    [Back]

     nice -- set program scheduling priority

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <unistd.h>

     int
     nice(int incr);

DESCRIPTION    [Toc]    [Back]

     This interface is obsoleted by setpriority(2).

     The nice() function obtains the scheduling priority of the process from
     the system and sets it to the priority value specified in incr.  The priority
 is a value in the range -20 to 20.  The default priority is 0;
     lower priorities cause more favorable scheduling.	Only the super-user
     may lower priorities.

     Children inherit the priority of their parent processes via fork(2).

SEE ALSO    [Toc]    [Back]

      
      
     nice(1), fork(2), setpriority(2), renice(8)

HISTORY    [Toc]    [Back]

     A nice() syscall appeared in Version 6 AT&T UNIX.


FreeBSD 5.2.1			 June 4, 1993			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
getpriority OpenBSD get/set program scheduling priority
getpriority Linux get/set program scheduling priority
getpriority FreeBSD get/set program scheduling priority
setpriority OpenBSD get/set program scheduling priority
setpriority NetBSD get/set program scheduling priority
getpriority NetBSD get/set program scheduling priority
setpriority FreeBSD get/set program scheduling priority
getpriority IRIX get/set program scheduling priority
nice Linux run a program with modified scheduling priority
getpriority Tru64 Get or set process scheduling priority
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service