How do I check the health of all my child processes, forked by my daemon
All the processes are under same process group.
I want to write a monitor utility, which needs to know the state of all the
in a process group.
The system security does not allow access to 'ps' and 'kill' commands.
So I have do this, using C system calls.
I looked at waitpid(), but can not figure out, if I can use it, or is there
a better way to do this.