---
name: "uu-nproc"
section: "1"
platform: "linux"
package: "uutils-coreutils"
version: "0.12.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/uu-nproc"
---

# uu-nproc(1)

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.

## NAME

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.

## SYNOPSIS

**nproc** \[OPTIONS\]...

## DESCRIPTION

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
