Deja.Com Daily Digest: comp.unix.internals 1/1

Deja.Com Daily Digest: comp.unix.internals 1/1

Post by R.Vishwanatha » Wed, 03 Nov 1999 04:00:00



Quote:> What do you mean by "health" of a process ?

What exact parameters do you want to monitor ?

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

> --

 Sent via Deja.com http://www.deja.com/
 Before you buy.
 
 
 

1. Deja.Com Daily Digest: comp.unix.internals 1/1

Sorry , But i am afraid that's not right. Infact , Chorus IS written  in  C++ , and
does use all its features( like new etc..) . It does compile properly with older versions of gcc (2.7.x). But with newer versions , you do face
problems , since the code does not adhere
to the current standards of C++.

 Sent via Deja.com http://www.deja.com/
 Share what you know. Learn what you don't.

2. Web Site, News Group, FTP Site Ratings!!!

3. HELP!!

4. Deja.Com Daily Digest: comp.unix.aix 1/1

5. few ?'s for new user

6. Deja.Com Daily Digest: comp.os.linux.setup 3/3

7. Summary: Mailbox format

8. Deja.Com Daily Summary: comp.unix.admin 1/1

9. Deja.Com Daily Summary: comp.unix.aix 1/1

10. Deja.Com Daily Summary: comp.unix.admin 1/1