How to check health of child process in a process group

How to check health of child process in a process group

Post by Deepak Baja » Thu, 28 Oct 1999 04:00:00



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

--

 
 
 

1. How to check health of child process in a process group

How to check health of child process in a process group
 Datum:
        Wed, 27 Oct 1999 17:57:44 +0800
    Von:

  Firma:
        Subscriber of Pacific Internet
  Foren:
        comp.unix.aix

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

--

2. USB serial converter to RS232- HELP Please.

3. How to check the state of child process(s) in one process group

4. running PPP on an iMac DV / Linux PPC

5. child process of parent process group

6. chat script

7. smail failed to reap child process: No child processes

8. Web-enabled RDBMS on Linux

9. how to kill a child process that runs other children processes

10. Getting a child and child's child process-id

11. wait for the child process from other process

12. Can a child process change the parent process's directory?