I have a process, PID 7150.
I want to assign the process to core #4 of my system. (Core numbering starts with zero, so the fourth core should be core #3)
I know I can do this by using Taskset. However, whenever I try, I get the following:
steve@rosie:~$ taskset -p 7150
pid 7150's current affinity mask: f
steve@rosie:~$ taskset -c 3 -p 7150
execvp: No such file or directory
failed to execute -p
What am I doing wrong?