Is this what you are looking for?
asadmin list-domains
Or on GFv2.1 (clusters):
asadmin list-instances
On 18/01/2010 14:03, glassfish_at_javadesktop.org wrote:
> How can I know through the command prompt whether the server is currently in the started mode or it got stopped?
> [Message sent by forum member 'deepujs' (deepu.janardhananachary_at_ust-global.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=381477
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net