开发者

Error with taskset

I'm trying to assign a process to one core of my machine using taskset. But it gives me this error:

$ sudo taskset 0x00000001 -p 20145
Password: 
execvp: No such file or directory
failed to execute -p

What do I have to do to make it wo开发者_开发知识库rk? Thanks


Check the man page for taskset. The syntax is:

taskset [options] -p [mask] pid

so, try:

sudo taskset -p 0x00000001 20145
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜