Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

proc_nice(3) [php man page]

PROC_NICE(3)								 1							      PROC_NICE(3)

proc_nice - Change the priority of the current process

SYNOPSIS
bool proc_nice (int $increment) DESCRIPTION
proc_nice(3) changes the priority of the current process by the amount specified in $increment. A positive $increment will lower the prior- ity of the current process, whereas a negative $increment will raise the priority. proc_nice(3) is not related to proc_open(3) and its associated functions in any way. PARAMETERS
o $increment - The increment value of the priority change. RETURN VALUES
Returns TRUE on success or FALSE on failure. If an error occurs, like the user lacks permission to change the priority, an error of level E_WARNING is also generated. NOTES
Note Availability proc_nice(3) will only exist if your system has 'nice' capabilities. 'nice' conforms to: SVr4, SVID EXT, AT&T, X/OPEN, BSD 4.3. This means that proc_nice(3) is not available on Windows. PHP Documentation Group PROC_NICE(3)

Check Out this Related Man Page

NICE(1) 						    BSD General Commands Manual 						   NICE(1)

NAME
nice -- execute a utility with an altered scheduling priority SYNOPSIS
nice [-n increment] utility [argument ...] DESCRIPTION
nice runs utility at an altered scheduling priority. If an increment is given, it is used; otherwise an increment of 10 is assumed. The super-user can run utilities with priorities higher than normal by using a negative increment. The priority can be adjusted over a range of -20 (the highest) to 20 (the lowest). A priority of 19 or 20 will prevent a process from taking any cycles from others at nice 0 or better. Available options: -n increment A positive or negative decimal integer used to modify the system scheduling priority of utility. EXIT STATUS
The nice utility exits with one of the following values: 1-125 An error occurred in the nice utility. 126 The utility was found but could not be invoked. 127 The utility could not be found. Otherwise, the exit status of nice will be that of utility. COMPATIBILITY
The historic -increment option has been deprecated but is still supported in this implementation. SEE ALSO
csh(1), getpriority(2), setpriority(2), renice(8) STANDARDS
The nice utility conforms to IEEE Std 1003.2-1992 (``POSIX.2''). HISTORY
A nice utility appeared in Version 6 AT&T UNIX. BUGS
nice is built into csh(1) with a slightly different syntax than described here. The form 'nice +10' nices to positive nice, and 'nice -10' can be used by the super-user to give a process more of the processor. BSD
June 6, 1993 BSD
Man Page