分页: 1 / 1

schedtool 选择cpu执行的。

发表于 : 2009-10-26 10:52
eexpress
查看进程关系
● schedtool 2510
PID 2510: PRIO 0, POLICY N: SCHED_NORMAL , NICE 0, AFFINITY 0x3
● schedtool `pidof XXXXX`

设置进程使用cpu0和3
● schedtool -a 0,3 2510
十六进制的,是mask写法
0x7 -> cpu 0,1,2

设置启动
● schedtool –a 0 –e 路径/执行文件

Re: schedtool 选择cpu执行的。

发表于 : 2009-10-26 10:58
O_O_BOT
irc <waterloo> say: 机器人来了 :em06

Re: schedtool 选择cpu执行的。

发表于 : 2009-10-26 10:58
O_O_BOT
irc <ivan-he> say: 飘过 飘过 还飘过

Re: schedtool 选择cpu执行的。

发表于 : 2009-10-26 11:04
O_O_BOT
irc <srdgame> say: 围观 ee