It would be nice if I could do something like:
asadmin list-domains --verbose
domain1 running (4848)
someotherdomain not running (5048)
...i.e. get administrative port information alongside the report of which domains are up and running.
Committed revision 57816.
Author : tmueller
Date : Dec 24, 2012 1:20:12 PM
GLASSFISH-19264 - add --long and --header options to list-domains. With -l, the output looks like this:
DOMAIN ADMIN_HOST ADMIN_PORT RUNNING RESTART_REQUIRED
domain1 localhost 4848 false false
Command list-domains executed successfully.
The -h=false option can be used to suppress the header.