CPU affinity-aware `ps’
[code lang=”bash”]ps -eo pid,tid,class,rtprio,ni,pri,pcpu,stat,wchan:14,comm,psr[/code]
The last number is the CPU the process is currently waiting on. Quite useful when used in conjunction with `top’, as hitting the number 1 while in interactive mode will display the per-CPU usage. Helpful to find iowait.