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

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

NICE(1)

Contents


NAME    [Toc]    [Back]

     nice -- execute a utility at an altered scheduling priority

SYNOPSIS    [Toc]    [Back]

     nice [-n increment] utility [argument ...]

DESCRIPTION    [Toc]    [Back]

     The nice utility runs utility at an altered scheduling priority, by
     incrementing its ``nice'' value by the specified increment, or a default
     value of 10.  The lower the nice value of a process, the higher its
     scheduling priority.

     The superuser may specify a negative increment in order to run a utility
     with a higher scheduling priority.

     Some shells may provide a builtin nice command which is similar or identical
 to this utility.  Consult the builtin(1) manual page.

ENVIRONMENT    [Toc]    [Back]

     The PATH environment variable is used to locate the requested utility if
     the name contains no `/' characters.

EXAMPLES    [Toc]    [Back]

     Execute utility `date' at priority 5 assuming the priority of the shell
     is 0:

	   nice -n 5 date

     Execute utility `date' at priority -19 assuming the priority of the shell
     is 0 and you are the super-user:

	   nice -n 16 nice -n -35 date

DIAGNOSTICS    [Toc]    [Back]

     If utility is invoked, the exit status of nice is the exit status of
     utility.

     An exit status of 126 indicates utility was found, but could not be executed.
  An exit status of 127 indicates utility could not be found.

SEE ALSO    [Toc]    [Back]

      
      
     builtin(1), csh(1), idprio(1), rtprio(1), getpriority(2), setpriority(2),
     renice(8)

COMPATIBILITY    [Toc]    [Back]

     The traditional -increment option has been deprecated but is still supported.

STANDARDS    [Toc]    [Back]

     The nice utility conforms to IEEE Std 1003.1-2001 (``POSIX.1'').

HISTORY    [Toc]    [Back]

     A nice utility appeared in Version 4 AT&T UNIX.


FreeBSD 5.2.1			 June 6, 1993			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
nice OpenBSD execute a utility with an altered scheduling priority
rtprio FreeBSD execute, examine or modify a utility's or process's realtime or idletime scheduling priority
idprio FreeBSD execute, examine or modify a utility's or process's realtime or idletime scheduling priority
getpriority OpenBSD get/set program scheduling priority
getpriority Linux get/set program scheduling priority
getpriority IRIX get/set program scheduling priority
nice FreeBSD set program scheduling priority
setpriority FreeBSD get/set program scheduling priority
getpriority FreeBSD get/set program scheduling priority
setpriority Tru64 Get or set process scheduling priority
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service