LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to get process status using pid? (https://www.linuxquestions.org/questions/linux-software-2/how-to-get-process-status-using-pid-433669/)

hongxing 04-10-2006 07:50 AM

how to get process status using pid?
 
I have known the process's pid, now I want to know whether the process
is an zombie process. how to using C/C++? is there any APIs to use ?

I am using SuSE Linux Enterprise Server 9, thanks!

Alien_Hominid 04-11-2006 05:52 AM

You should better ask in programming forum.

jolphil 04-11-2006 07:11 AM

Hi,
"top" will show if a zombie process is present and possibly more ..I am not a programmer and may not understand your question..
Anyway thats all i know..
Goodluck,
jolphil


All times are GMT -5. The time now is 02:25 AM.