OS Manuals

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(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 [OPTIONS]...

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

v(uutils coreutils) 0.12.0

2026-09-17

uutils 0.12.0-r0 · os · ingested 2026-09-30