STANNIX Solutions for the Real World


Manual: nproc

NPROC(1)				   General Commands Manual				    NPROC(1)

NAME
       nproc  -	 Print	the  number  of	 cores	available to the current process.  If the OMP_NUM_THREADS or
       OMP_THREAD_LIMIT environment variables are set, then they will determine the minimum and maximum	 re‐
       turned value respectively.

SYNOPSIS
       nproc [--all] [--ignore] [-h|--help] [-V|--version]

DESCRIPTION
       Print   the   number  of	 cores	available  to  the  current  process.	If  the	 OMP_NUM_THREADS  or
       OMP_THREAD_LIMIT environment variables are set, then they will determine the minimum and maximum	 re‐
       turned value respectively.

OPTIONS
       --all  print the number of cores available to the system

       --ignore 
	      ignore up to N cores

       -h, --help
	      Print help

       -V, --version
	      Print version

VERSION
       v(uutils coreutils) 0.8.0

						 2026-04-16					    NPROC(1)