uu_nproc - Man Page

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 returned 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 returned value respectively.

Options

--all

print the number of cores available to the system

--ignore <N>

ignore up to N cores

-h,  --help

Print help

-V,  --version

Print version

Version

v(uutils coreutils) 0.7.0

Info

nproc (uutils coreutils) 0.7.0