list-tcp-listeners

Syntax

tadm list-tcp-listeners common_options [--all] --config=config_name

Description

Use this command to list all TCP listeners.

Options

For information about common_options, run the help command.

--all|-l

If you specify this option, the command displays the IP and port for each TCP listener configuration.

--config|-c

Specify the name of the configuration to list all the TCP listeners.

Example

tadm list-tcp-listeners --user=admin --password-file=./admin.passwd 
--host=admin.example.com --port=8989 --no-prompt 
--config=www.example.org

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-tcp-listener, delete-tcp-listener, get-tcp-listener-prop, set-tcp-listener-prop