rust-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 [--all]
[--ignore]
[{-h | --help}]
[{-V | --version}]
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 -
ignore up to N cores
-
-h, --help -
Print help
-
-V, --version -
Print version
Version
v0.0.30
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.
-V since Debian 13 (Trixie);
-h since Debian 13 (Trixie).