From: wwp <subscript@free.fr>
To: linux-c-programming@vger.kernel.org
Subject: Re: static or stuff like that
Date: Mon, 29 Apr 2002 11:09:33 +0200 [thread overview]
Message-ID: <20020429110933.19f3c1af.subscript@free.fr> (raw)
In-Reply-To: <15564.28455.695486.899966@cerise.nosuchdomain.co.uk>
Hi Glynn,
On Sun, 28 Apr 2002 22:52:39 +0100 Glynn Clements <glynn.clements@virgin.net> wrote:
>
> Wrazlov wrote:
>
> > I want to control whether a process is already running or not, and i don't
> > know how without using some kind of lock-files
>
> You can scan the files under /proc/<pid> to obtain details about which
> processes are running. E.g. /proc/<pid>/exe is a symlink to the
> program which process <pid> is executing.
Is /proc always available? (if not, how to do what Wrazlov asked?)
Regards
--
wwp
next prev parent reply other threads:[~2002-04-29 9:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-28 16:59 static or stuff like that Wrazlov
2002-04-28 21:52 ` Glynn Clements
2002-04-29 9:09 ` wwp [this message]
2002-04-29 9:48 ` Glynn Clements
2002-04-30 21:26 ` wwp
2002-05-01 0:12 ` Glynn Clements
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=20020429110933.19f3c1af.subscript@free.fr \
--to=subscript@free.fr \
--cc=linux-c-programming@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).