Search notes:

Shell command: nproc

nproc reports the number of processing units (cores and/or CPUs) available to the current process.

See also

The number of CPUs might be passed to make's j flag like so:
$ make -j $(nproc --all)
lscpu and other Shell commands.

Index