nproc(1) General Commands Manual nproc(1)

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

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

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.

print the number of cores available to the system
ignore up to N cores
Print help
Print version

v0.0.26

nproc 0.0.26