catch exit status of daemon
From: Anuz Pratap Singh Tomar <hidden>
Date: 2015-01-06 16:46:51
On Tue, Jan 6, 2015 at 3:22 PM, Yash Jain [off-list ref] wrote:
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. waitpid()
signal()
Thanks in advance Regards, Yash. _______________________________________________ Kernelnewbies mailing list Kernelnewbies at kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Thank you Warm Regards Anuz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150106/fa93c11c/attachment.html