taskset is used to set or retrieve the CPU affinity of a process, determining which CPUs a process can run on.
Exampletaskset -c 0,1 myprocess
taskset -c 0,1 myprocess
DevOpsSchoolTypically replies within an hour