- lists the existing virtual servers
list-virtual-servers [--help] [target]
The list-virtual-servers subcommand lists the existing virtual servers. This subcommand is supported in remote mode only.
Displays the help text for the subcommand.
Restricts the listing to virtual servers for a specified target. Valid values are as follows:
Lists the virtual servers for the default server instance. This is the default value.
Lists the virtual servers for the specified configuration.
Lists the virtual servers for all server instances in the specified cluster.
Lists the virtual servers for the specified server instance.
Example 1 Listing Virtual Servers
The following command lists all the virtual servers for the server instance:
asadmin> list-virtual-servers server __asadmin Command list-virtual-servers executed successfully.
command executed successfully
error in executing the command