NCPUS(1)
π
NCPUS(1) β like, the manual page for ncpus, bestie
okay so you opened the manual for ncpus (section 1, user commands, iykyk) and honestly? it's a whole vibe. tiny tool, big main character energy. let's get into it π«Ά
β¨ NAME β¨
ncpus β print the number of virtual CPUs πΈ
like. that's it. that's the job. and she does it flawlessly π
β¨ SYNOPSIS β¨
ncpus [ +n | n | -n ]
three little moods, one iconic little binary π
β¨ DESCRIPTION β¨
okay so ncpus prints the number of virtual CPUs to standard output. that's the whole thing. no cap. π
but here's where it gets interesting, bestie, because the argument changes everything:
- pass the
+nargument and it prints the number of processors +n β - pass the
-nargument and it prints the number of processors -n β
and literally the most important part, do not skip this: if the result of that -n math comes out less than 1, ncpus prints 1. she said "we are NOT going below one, periodt." ππ
- pass the
nargument andncpusprintsn. that's it. justn. no math, no drama, she's literally just repeating you back β¨
also! ncpus ignores malformed argument. so if you hand her something cursed, she's just gonna... not engage. not a single reaction. queen behavior honestly π
side note bestie: this program is a part of the Middleman System (mdm). so if you're deep inmdmland, that's why she's here π¦
β¨ EXIT STATUS β¨
the exit status of ncpus is 0. always. she's never stressed, she's never failing, she's never giving you a nonzero anything. icon. π₯
β¨ SEE ALSO β¨
mdm.screen(1)β go read that one next, bestie, the lore continues π
that's the whole page, no notes π and for the sign-off: this manual is from the Linux crew, dated 2009-03-10, and it lives in section NCPUS(1). vintage but still slaying, fr fr βπ
π¦ where this page comes from
- debian bookworm: mdm 0.1.3-2.1+b3
- debian trixie: mdm 0.1.3-3 Β· Apache-2.0
- ubuntu jammy: mdm 0.1.3-2.1build3
- ubuntu noble: mdm 0.1.3-2.2
- ubuntu questing: mdm 0.1.3-3
- ubuntu resolute: mdm 0.1.3-3build1 Β· Apache-2.0
- ubuntu stonking: mdm 0.1.3-3build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms