comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@escmail.orl.lmco.com>
Subject: Re: How to query active processes from Ada
Date: 1997/01/03
Date: 1997-01-03T00:00:00+00:00	[thread overview]
Message-ID: <32CD7A2E.794BDF32@escmail.orl.lmco.com> (raw)
In-Reply-To: 5aj97p$a9m@news.spar.ca


James d'Eon wrote:
> 
> Hi,
>   I have a situation where I am trying to determine if a process is active. I
> do know the process ID. This is pretty simple from the command line by using
> the 'ps' command, but I have not been successful yet in implementing this in
> Ada. Has anyone out there tried this, or have any ideas to point me in the
> right direction?

That's a UNIX question, not an Ada question. Check the Unix man pages on
your system (sections 2 and 3). Just call the appropriate Unix system
calls from your Ada program.

Alternatively, you could ask in one of the Unix newsgroups.

-- 
T.E.D.          
             |  Work - mailto:dennison@escmail.orl.lmco.com  |
             |  Home - mailto:dennison@iag.net               |
             |  URL  - http://www.iag.net/~dennison          |




  parent reply	other threads:[~1997-01-03  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-03  0:00 How to query active processes from Ada James d'Eon
1997-01-03  0:00 ` Christopher Green
1997-01-03  0:00 ` Ted Dennison [this message]
1997-01-06  0:00 ` David Emery
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox