commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Wang <James.W...@infor.com>
Subject RE: How to check if a process is running or if a process is existing with prunsrv?
Date Tue, 29 May 2012 15:50:05 GMT
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
View raw message