signal of begining and termination of a runing process

signal of begining and termination of a runing process

Post by tova fomber » Thu, 11 Jan 2001 00:57:13



Hi,
I need any segestions or help about the following:
is there a way to catch signal or somthing else, of begining and termination
of a runing process in the system ?

Thanks for any help
Tova

 
 
 

signal of begining and termination of a runing process

Post by Barry Margoli » Thu, 11 Jan 2001 01:44:35




>I need any segestions or help about the following:
>is there a way to catch signal or somthing else, of begining and termination
>of a runing process in the system ?

Why do you need a signal when the process starts?  It starts when you call
fork() to create the new process.

When the process ends, a SIGCHLD signal is sent to the parent process.

--

Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.