uu-nproc(1)

uu-nproc1

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.

Usage

nproc [OPTIONS] ...

Overview

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> [default: 0]

ignore up to N cores

-h, --help

Print help

-V, --version

Print version

Version

v(uutils coreutils) 0.12.0

From uutils-coreutils 0.12.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.