title: Given a child PID how can you get the parent PID
body: <p>I'm working on a project where I have a number of PIDs and I have to find out which of these are zombie processes and then kill their parent processes in order to kill the initial zombie process. I am not sure if there is any way to find out what the PPID of a given PID is. Any help would be appreciated.</p>