Monday, February 4, 2019

taskset example


-p [process id]
./taskset -p 1760 
pid 1760's current affinity mask: f

/taskset -cp 1760
pid 1760's current affinity list: 0-3


taskset -p 0x4 1760

assign it to core0 and core3
taskset -cp 0,3 9726

No comments:

Post a Comment