admin@glassfish.java.net

Re: How to determine if appserver is running

From: Shreedhar Ganapathy <Shreedhar.Ganapathy_at_Sun.COM>
Date: Wed, 21 Nov 2007 17:21:41 -0800

Hi SteveD
Try
jps -mlvV| grep <instance_name>

hth
Shreedhar

Stephen DiMilla wrote:
> Folks
> I'm looking for a way from the command line to determine if the appserver
> is up and running besides issuing some random asadmin command and seeing
> if it errors out or not. I'm currently using ant's exec task to
> execute various
> commands to the appserver and it would be nice to be able to determine
> appserver
> status.
>
> Any suggestions would be helpful
>
> Thanks
> steved
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>