nproc Command Examples

Print the number of processing units (normally CPUs) available. More information: https://www.gnu.org/software/coreutils/nproc.

nproc

nproc --all

nproc --ignore {{count}}