How to find out the number of CPU cores on a Linux host.
Use the command nproc
.
$ nproc
nproc – print the number of processing units available: man page of nproc.
How to find out the number of CPU cores on a Linux host.
Use the command nproc
.
$ nproc
nproc – print the number of processing units available: man page of nproc.