in reply to Killing children's of children

You could also, possibly, walk through /proc/$$ or the equivalent (depending on your platform).

IPC is probably a better plan though.

-Paul