commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Spico Florin <spicoflo...@gmail.com>
Subject Re: How to check if a process is running or if a process is existing with prunsrv?
Date Wed, 30 May 2012 09:46:10 GMT
Hello!
  Thank you for your answers. I'm getting the status of the process as long
with other information (also queryex gives me the pid)
Regards,
 Florin

On Tue, May 29, 2012 at 6:50 PM, James Wang <James.Wang@infor.com> wrote:

> Florin:
> Try SC QUERY <service_name> in a command window.
>
> James Wang
>
> -----Original Message-----
> From: Spico Florin [mailto:spicoflorin@gmail.com]
> Sent: Monday, May 28, 2012 5:31 AM
> To: user@commons.apache.org
> Subject: Re: How to check if a process is running or if a process is
> existing with prunsrv?
>
> Hello!
> >   I'm using prunsrv to create windows services. I would like to ask
> > you if it is possible to query the status of a process (if it running,
> > stopped) or if a process is existing. Also I would like to read the
> > content of the pid file with a Java program.
> >
> > I look forward for your answers. Thank you.
> >   Regards,
> >  Florin
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message