Linux command to get the number of CPU present

To get the number of CPUs/cores present ,type the following command in terminal

nproc

or

grep --count  processor /proc/cpuinfo


Comments

Popular posts from this blog

bb.utils.contains yocto

make config vs oldconfig vs defconfig vs menuconfig vs savedefconfig

PR, PN and PV Variable in Yocto