Dear all,

I want to dynamically change the CPU affinity of multiple processes/threads started in a container. Changing affinity operation is done in native OS. My problem is how to obtain the mapping relationship between the two pids owned by the process/thread. As you know, one pid is given by the container, which is different from the corresponding pid seen by the native OS.

Thank you in advance.

Cheng