CmdID

CmdID / Commands

nproc

Print number of processors. toybox

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Linux

from the toybox, 0BSD
nproc [-a]
-aShow all processors, not just ones this task can run on (--all)

Several platforms

from tldr-pages, CC BY 4.0

Print the number of processing units (normally CPUs) available.

Display the number of available processing units

Display the number of installed processing units, including any inactive ones

nproc --allIdentify

If possible, subtract a given number of units from the returned value

nproc --ignore countIdentify