rust-nproc(1)

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.

  1. 12
  2. 13

-V since Debian 13 (Trixie); -h since Debian 13 (Trixie).

From rust-coreutils 0.0.30-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.