list-virtual-servers

lists the existing virtual servers

Synopsis

list-virtual-servers [--help]
[target]

Description

The list-virtual-servers subcommand lists the existing virtual servers. This subcommand is supported in remote mode only.

Options

--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.

Exit Status

0

command executed successfully

1

error in executing the command

See Also

create-virtual-server(1), delete-virtual-server(1)

asadmin(1M)