get-tcp-proxy-stats

Syntax

tadm get-tcp-proxy-stats common_options --config=config_name --tcp-proxy=tcp-proxy-name (property_name)*

Description

Use this command to view the statistics for a given TCP proxy.

Options

For information about common_options, run the help command.

--config|-c

Specify the name of the configuration to view the tcp-proxy properties.

--tcp-proxy|-r

Specify the name of the TCP proxy.

Operands

property-name

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

You can view the following properties for the TCP proxy:

interfaces
countActiveConnections
countRequests
countRequestsAborted
countRequestsTimeout
countBytesReceived
countBytesTransmitted
milliSecondsConnectionActiveAverage
mode
name

Example

tadm get-tcp-proxy-prop --user=admin --port=8989 
--password-file=./admin.passwd
--no-prompt --config=www.example.org --tcp-proxy=proxy1

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-proxy, delete-tcp-proxy, list-tcp-proxies, set-tcp-proxy-prop