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

PR, PN and PV Variable in Yocto