find out how many cores a processis using linux code example Example: linux check cpu core lscpu #or cat /proc/cpuinfo