catch exit status of daemon

Yash Jain yash2learn at gmail.com
Tue Jan 6 10:22:02 EST 2015


Hello All,
I have one dumb question,
I wanted to write a process which monitors the exit status of the daemon,

The Main process would fork a service, which would internally fork a child
and , exit from the process. If main process wants to query the status of
the daemon, how it can be achived.

For ex :
Process A would call a syslog service, which would internally fork a child,
daemon it and exit, so if process A wants to wait for the syslog process,
is it possible.

Thanks in advance

Regards,
Yash.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150106/030619af/attachment.html 


More information about the Kernelnewbies mailing list