how to tell how many cpus linux code example Example: linux check cpu core lscpu #or cat /proc/cpuinfo