get number of cpus in hostname code example Example: linux check cpu core lscpu #or cat /proc/cpuinfo