get parent process ID of a given child process in Linux