I am working on prcocess migration in linux using C language.
I wish to access the context of a process-the contents stored in its process control block like-program counter, address space, list of open files, pending signals, accounting information, etc
After this, i need to freeze the process and execute it on another machine.
Basically i am trying to acheive load balacing.
Can you tell me how to access the context of a process wen i have its pid(using getpid())?
Is it possible through task_struct? Or is there any other way? Please give me as much details as possible.
My mail id is: firstname.lastname@example.org