NPROC(1)

๐Ÿ“ฆ version 0.12.0, in arch rolling

bestie, welcome to the NPROC(1) page from the General Commands Manual โ€” itโ€™s giving tiny-but-mighty core-counting energy ๐Ÿ’…โœจ

๐ŸŒธ 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. no cap, thatโ€™s the whole errand ๐Ÿ’–

โœจ SYNOPSIS โœจ

nproc [OPTIONS]...

thatโ€™s the whole recipe, bestie ๐ŸŽ€

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

okay so hereโ€™s the tea: this prints 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. literally thatโ€™s it, and it ate ๐Ÿ’…

๐Ÿ’œ OPTIONS ๐Ÿ’œ

  • --all โ€” print the number of cores available to the system
  • --ignore <N> โ€” ignore up to N cores. [default: 0]
  • -h, --help โ€” Print help
  • -V, --version โ€” Print version

ngl, the default for --ignore is 0, so bestie starts with zero ignored cores unless you say otherwise ๐Ÿซถ

๐Ÿ‘‘ VERSION ๐Ÿ‘‘

v(uutils coreutils) 0.12.0 โ€” periodt โœจ


this page is serving source/version v(uutils coreutils) 0.12.0, dated 2026-09-17 โ€” bye bestie, go count those cores ๐Ÿ’–๐Ÿซถ

๐Ÿ“ฆ where this page comes from