Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
I need to be able to detect zombie process. Is there a good perl-ish way to detect zombie processes so I can reap them/yell at whoever created them later? Or will I just have to parse the output of "/bin/ps -ax"?
I'm not aware of a "Perlish" way to detect zombies. I'm not
even sure if there's any good cross-Unix-platform way of
detecting them. Even Stevens in his "Advanced Programming in
the UNIX Environment" doesn't offer anything better than using
system & ps.