linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Detecting deamons running
@ 2003-03-28 17:20 Luciano Moreira - igLnx
  2003-03-28 19:45 ` Andrés Roldán
  0 siblings, 1 reply; 6+ messages in thread
From: Luciano Moreira - igLnx @ 2003-03-28 17:20 UTC (permalink / raw)
  To: linux-c-programming

I have a application that run like a deamon, which write in a file its PID,
that is used to stop it later by others programs. But, I ve noted that my
users send signal 9 to stop deamons, and my application cannot remove its
PID file, because it cannot handle singal 9, keeping its PID file at HD
(FileSystem).

Can someone sugest me a way to know the deamon's PID, without write it to a
file ?
OR
How can I do to know if my deamon is running and get its PID ?

Thanks,

Luciano



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

end of thread, other threads:[~2003-03-29 16:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-28 17:20 Detecting deamons running Luciano Moreira - igLnx
2003-03-28 19:45 ` Andrés Roldán
2003-03-28 21:30   ` Glynn Clements
2003-03-28 23:40     ` Luciano Moreira - igLnx
2003-03-29  0:45       ` Glynn Clements
2003-03-29 16:51         ` Luciano Moreira - igLnx

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).