Linux command for finding PID assigned to a CPU

If core number is 7

ps -e -o pid,nice,class,rtprio,psr,pcpu,comm --sort psr | awk '$5 == "7" {print; }'
Read More »Linux command for finding PID assigned to a CPU