Sun GlassFish Enterprise Server v3 Prelude Administration Guide

ProcedureTo List Virtual Servers

The remote list-virtual-servers command enables you to list the existing virtual servers.

  1. Ensure that the server is running.

    Remote commands require a running server.

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


Example 8–7 Listing Virtual Servers

The following example command lists the virtual servers for localhost:


asaadmin list-virtual-servers

Information similar to the following is displayed:


sampleListener
admin-listener
http-listener-2
http-listener-1

Command list-http-listeners executed successfully.

See Also

To see the full syntax and options of the command, type asadmin list-virutal-servers --help at the command line.