list-virtual-servers
Lists the existing virtual servers.
Description
The list-virtual-servers
subcommand lists the existing virtual servers.
This subcommand is supported in remote mode only.
Options
- asadmin-options
-
Options for the
asadmin
utility. For information about these options, see theasadmin
help page. --help
-?
-
Displays the help text for the subcommand.
Operands
- target
-
Restricts the listing to virtual servers for a specified target. Valid values are as follows:
server
-
Lists the virtual servers for the default server instance. This is the default value.
- configuration-name
-
Lists the virtual servers for the specified configuration.
- cluster-name
-
Lists the virtual servers for all server instances in the specified cluster.
- instance-name
-
Lists the virtual servers for the specified server instance.
Examples
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.