Sun GlassFish Enterprise Server v3 Administration Guide

ProcedureTo List Virtual Servers

Use the list-virtual-servers subcommand in remote mode to list the existing virtual servers.

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. List virtual servers by using the list-virtual-servers(1) subcommand.

Example 16–17 Listing Virtual Servers

This example lists the virtual servers for localhost.

asadmin> list-virtual-servers
Command list-http-listeners executed successfully.

See Also

You can also view the full syntax and options of the subcommand by typing asadmin help list-virutal-servers at the command line.