How do I get the parent process ID of a given child process