just like the title says, I'm looking for a way to get the exit status (return code from exit/main), via /proc or any other means, of a process that was not started from the shell. in one of my big projects, I am recently having issues with a lot of zombie processes not being collected by the parent, and if I could get the exit status, I could track down exactly what's causing it. it took the machine down completely and caused a kernel panic once last week, so it's fairly important that I find the cause, but I'm unable to do so thus far.