Possible Duplicate:
Is it possible to limit a Linux process so that it can only run on a particular core on a particular machine?
I would like to know how can I bind a process to a particular cpu core on a Linux server? I am running Centos 5.5. As you can see from screenshot added as comment, i have two cores...
Is there a simple way to do this?
taskset -p pid returns pids current affinity mask: 3. How do i know which core that is? My server only has dual core.
Thanks for advice.