Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
User Commandslist-virtual-servers(1)


NAME

 list-virtual-servers - gets the virtual servers in the named instance

SYNOPSIS

 list-virtual-servers --user admin_user[ --password admin_password ][ --host localhost ] [ --port 4848 ][ --passwordfile filename ][ --secure|-s ]instance_name

DESCRIPTION

Gets the virtual server elements associated with the named server instance.

OPTIONS

--user

administrative user associated for the instance.

--password

administrative password corresponding to the administrative user.

--host

host name of the machine hosting the administrative instance.

--port

administrative port number associated with the administrative host.

--passwordfile

file containing passwords appropriate for the command (e.g., administrative instance).

--secure

if true, uses SSL/TLS to communicate with the administrative instance.

OPERANDS

instance_name

name of the instance.

EXAMPLES

Example 1. Using list-virtual-servers
asadmin> list-virtual-servers --user admin --password adminadmin --host localhost --port 4848 server1
server1
sample_vs1

Where server1 and sample_vs1 are the virtual servers listed.

EXIT STATUS

0

command executed successfully

1

error in executing the command

INTERFACE EQUIVALENT

HTTP Server node, Virtual Servers page

SEE ALSO

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


Sun Java System Application ServerGo To TopLast Changed 29 Dec 2003