linux measure cpu usage of entire core code example Example: linux check cpu core lscpu #or cat /proc/cpuinfo