nproc(1)

πŸ“¦
version 0.7.0 Β· 2 versions
, in epel 10, fedora 43, fedora 44

πŸ’… nproc(1) β€” General Commands Manual πŸŽ€

okay bestie, say hi to nproc, the lil cutie from the General Commands Manual section of the manual. she counts cores. that's the whole job. and she ate. ✨


🌸 NAME 🌸

nproc β€” print the number of cores available to the current process. and listen, if the OMP_NUM_THREADS or OMP_THREAD_LIMIT environment variables are set, then they will determine the minimum and maximum returned value respectively. so basically the env vars get a vote too. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

nproc [--all] [--ignore] [-h|--help] [-V|--version]

✨ DESCRIPTION ✨

bestie it literally just prints the number of cores available to the current process. that's it, that's the vibe. 🌈

and fr fr, if the OMP_NUM_THREADS or OMP_THREAD_LIMIT environment variables are set, then they will determine the minimum and maximum returned value respectively. so OMP_NUM_THREADS sets your floor, OMP_THREAD_LIMIT sets your ceiling, and nproc lives somewhere in between. iconic behaviour honestly. πŸ‘‘


πŸ’– OPTIONS πŸ’–

  • --all β€” print the number of cores available to the system. like, the whole system, not just what your lil process is allowed to touch. main character energy, system-wide. 🫢
  • --ignore <N> β€” ignore up to N cores. yes literally just subtract up to N of them from the count. πŸ™ˆ
  • -h, --help β€” Print help. she's helpful AND pretty. πŸ’
  • -V, --version β€” Print version. gotta know which era of nproc you're living in. ⭐

πŸŽ€ VERSION πŸŽ€

v(uutils coreutils) 0.7.0

no cap: the description in NAME and the description in DESCRIPTION say the exact same thing. that's not me being lazy, that's just how the page is. keeping it real. πŸ’€

and that's the whole page, bestie!! this one's nproc (uutils coreutils) 0.7.0 β€” shoutout to the uutils coreutils girlies for the 0.7.0 release, mwah πŸ’‹ go count some cores, ily, bye!! πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from
  • epel 10: rust-coreutils-devel 0.7.0-10.el10_3 Β· MIT
  • epel 10: uutils-coreutils 0.7.0-10.el10_3 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • fedora 43: rust-coreutils-devel 0.7.0-12.fc43 Β· MIT
  • fedora 43: uutils-coreutils 0.7.0-12.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • fedora 44: rust-coreutils-devel 0.7.0-4.fc44 Β· MIT
  • fedora 44: uutils-coreutils 0.7.0-4.fc44 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms