kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* catch exit status of daemon
@ 2015-01-06 15:22 Yash Jain
  2015-01-06 15:35 ` nick
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Yash Jain @ 2015-01-06 15:22 UTC (permalink / raw)
  To: kernelnewbies

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 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-01-07 22:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-06 15:22 catch exit status of daemon Yash Jain
2015-01-06 15:35 ` nick
2015-01-06 16:24 ` Valdis.Kletnieks at vt.edu
2015-01-06 16:46 ` Anuz Pratap Singh Tomar
2015-01-06 19:27   ` Nizam Haider
2015-01-07  8:05     ` Sudip Mukherjee
2015-01-07  9:10       ` Yash Jain
2015-01-07 22:58         ` Bernd Petrovitsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).