If i execute 'ps' command in shell, i can get some processes marked as '' - they are exited, but parent process don't receive they exit status yet. Sometimes, while debugging network apps, i need to get exit status of such process from shell - is it 0 or some error code like segmentation fault?
Is it possible to get this exit status from shell given PID
, or only zombie's parent process can get this exit status?
P.S. I don't need to "kill" them, "close" them etc. I only need to check they exit status :)