how to see how many cores are being used linux code example Example: linux check cpu core lscpu #or cat /proc/cpuinfo