Use the list-instances to list all the instance in the server. The list-instances command can be run both locally and remotely.
To list remote instances, the named administration server must be running on the hostname and port number specified. The user authenticates using the password identified for the administration server.
administrative user associated for the instanace.
administrative password corresponding to the administrative user.
host name of the machine hosting the administrative instance.
port number associated with the administrative host.
name of the domain.
determines if the command should delegate the request to administrative instance or run locally.
file containing passwords appropriate for the command (e.g., administrative instance).
if true, uses SSL/TLS to communicate with the administrative instance.
asadmin> list-instances --domain1 --local admin-server running server1 running
Where: the server1 and admin-server instances for the domain1 domain is listed.
asadmin> list-instances --user admin --passwordfile passwords.txt --host localhost --port 4848 server1 [mayank:80] running
Where: the server1 instance associated with the specified user, passwords, host, and port number specified is listed for the remote machine.
Server Instance page