From: "Luciano Moreira - igLnx" <lucianolnx@ig.com.br>
To: linux-gcc@vger.kernel.org
Subject: Detecting running deamons
Date: Fri, 28 Mar 2003 14:08:22 -0300 [thread overview]
Message-ID: <007801c2f54c$a5becde0$0b00a8c0@SPLUCIANO> (raw)
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
next reply other threads:[~2003-03-28 17:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-28 17:08 Luciano Moreira - igLnx [this message]
2003-03-28 19:18 ` Detecting running deamons J.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='007801c2f54c$a5becde0$0b00a8c0@SPLUCIANO' \
--to=lucianolnx@ig.com.br \
--cc=linux-gcc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).