get-origin-server-prop

Syntax

tadm get-origin-server-prop common_options --config=config_name --origin-server-pool=origin_server_pool_name 
--origin-server=host:port (property_name)*

Description

Use this command to view origin server properties.

Options

For information about common_options, run the help command.

--config|-c

Specify the configuration for which you want to view the origin server properties.

--origin-server-pool|-o

Specify the name of the origin-server pool for which you want to view the origin server properties.

--origin-server|-O

Specify the origin server of the format host:port

Operands

property-name

Specify the name of the property that you want to view (Optional).

You can view the following origin server properties:

enabled
host
port
weight
backup
max-connections
ramp-up-time

Example

tadm get-origin-server-prop --user=admin --host=admin.example.com --password-file=./admin.passwd --port=8989 
--no-prompt --config=www.example.org 
--origin-server-pool=test-pool --origin-server=www.mail2.com:8080 
weight

Exit Codes

The following exit values are returned:

0: command executed successfully

>0: error in executing the command

For more information about exit codes and syntax notations, run the help command.

See Also

help, create-origin-server, delete-origin-server, list-origin-servers, set-origin-server-prop