nproc - phpMan

Command: man perldoc info search(apropos)  


File: coreutils.info,  Node: nproc invocation,  Next: uname invocation,  Prev: arch invocation,  Up: System context

21.3 'nproc': Print the number of available processors
======================================================

Print the number of processing units available to the current process,
which may be less than the number of online processors.  If this
information is not accessible, then print the number of processors
installed.  If the 'OMP_NUM_THREADS' environment variable is set, then
it will determine the returned value.  The result is guaranteed to be
greater than zero.  Synopsis:

     nproc [OPTION]

   The program accepts the following options.  Also see *note Common
options::.

'--all'
     Print the number of installed processors on the system, which may
     be greater than the number online or available to the current
     process.  The 'OMP_NUM_THREADS' environment variable is not honored
     in this case.

'--ignore=NUMBER'
     If possible, exclude this NUMBER of processing units.

   An exit status of zero indicates success, and a nonzero value
indicates failure.


Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache/2.4.6 (CentOS)
Under GNU General Public License
2024-12-21 16:38 @127.0.0.1 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!