What exact parameters do you want to monitor ?Quote:> What do you mean by "health" of a process ?
And since when did C provided its own sys. calls ? ;)
> Subject: How to check the state of child process(s) in one process group
> Hi gurus,
> How do I check the health of all my child processes, forked by my daemon
> process.
> All the processes are under same process group.
> I want to write a monitor utility, which needs to know the state of all the
> child processes
> 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.
> TIA
> Deepak
> --
Before you buy.