How to find out which CPU core a process is running on

Question: I have a Linux process running on my multi-core processor system. How can I find out which CPU core the process is running on? When you run performance-critical HPC applications or network-heavy workload on multi-core NUMA processors, CPU/memory affinity is one important factor to consider to maximize their performance. Scheduling closely related processes on […]
Continue reading…