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

Difference between RDEPENDS and DEPENDS in Yocto

make config vs oldconfig vs defconfig vs menuconfig vs savedefconfig