list-origin-servers

Syntax

tadm list-origin-servers common_options [--all] --config=config_name --origin-server-pool=origin_server_pool_name

Description

Use this command to view a list of origin-servers defined in a pool.

Options

For information about common_options, run the help command.

--all|-l

If you specify this option, the command displays weight, enabled, and backup for each origin server defined in a pool.

--config|-c

Specify the configuration for which you want to list the origin-servers.

--origin-server-pool|-o

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

Example

tadm list-origin-servers --user=admin --host=admin.example.com 
--password-file=./admin.passwd --port=8989 
--no-prompt --config=www.example.org 
--origin-server-pool=test-pool

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.