LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to get pointer of task_struct corresponding to a pid value. (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-get-pointer-of-task_struct-corresponding-to-a-pid-value-4175411064/)

rach_993 06-12-2012 01:50 PM

How to get pointer of task_struct corresponding to a pid value.
 
Hi Guys,

I have written a kernel module code.where I have list of pid (process ids) stored in a Singular link list. I want to know if processes corresponding to its pids is alive or killed.in order to meet this requirement I need pointer of task_struct corresponding to the pid.

Also if any one know about what is namespace in linux OS??

Please help me.

Regards
Rach D

pan64 06-12-2012 01:51 PM

duplicate of http://www.linuxquestions.org/questi...ue-4175411063/


All times are GMT -5. The time now is 08:27 AM.