Fwd: taskset on amd64
On 11/23/05, Ron Owens <gron.owens@gmail.com> wrote:
> I am trying to get a process to run on the second CPU.
>
> I do :
>
> taskset -p 0x00000002 2170
>
> but it returns:
>
> pid 2170's current affinity mask: 3
> pid 2170's new affinity mask: 3
>
> i.e. it doesn't change its affinity...
>
> Is this a bug or is there another way to handle processor affinity?
>From the taskset manpage:
PERMISSIONS
A user must possess CAP_SYS_NICE to change the CPU affinity
of a process. Any user can retrieve the affinity mask.
--
Debianista!
Reply to: