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 at an altered scheduling priority SYNOPSIS
nice [-n increment] utility [argument ...] DESCRIPTION
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
The PATH environment variable is used to locate the requested utility if the name contains no '/' characters. EXAMPLES
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
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
builtin(1), csh(1), idprio(1), rtprio(1), getpriority(2), setpriority(2), renice(8) COMPATIBILITY
The traditional -increment option has been deprecated but is still supported. STANDARDS
The nice utility conforms to IEEE Std 1003.1-2001 (``POSIX.1''). HISTORY
A nice utility appeared in Version 4 AT&T UNIX. BSD
June 6, 1993 BSD
Man Page