cat /proc/cpuinfo
cmd.exe
or PowerShell), something similar is possible with wmic cpu get devideId,numberOfCorse,numberOfLogialProcessors # or get-computerInfo | select-object csProcessors
ps -o
command, using the %cpu
format specifier: ps -e -o %cpu,exe
/sys/devices/system/cpu