This question already has an answer here:
When I type the command
The first row of the output is
29646 Usernam+ 20 0 7041320 1.047g 105604 S 1267 0.6 256:11.86 MATLAB
As you can see, the CPU utilization is 1267%. That means, this process is using 13 CPU of the server. By the following command, I try to force this process to use only one CPU (The 30th CPU of server)
taskset -c -p 30 29646
However, I still see the CPU utilization of the process is about 1300%. Why taskset is not working properly?