Use the list-virtual-servers subcommand in remote mode to list the existing virtual servers.
Ensure that the server is running.
Remote subcommands require a running server.
List virtual servers by using the list-virtual-servers(1) subcommand.
This example lists the virtual servers for localhost.
asadmin> list-virtual-servers sampleListener admin-listener http-listener-2 http-listener-1 Command list-http-listeners executed successfully. |
You can also view the full syntax and options of the subcommand by typing asadmin help list-virutal-servers at the command line.