spl-transport-stats

The spl-transport-stats command creates a transport statistics model by running a transport performance test.

Usage

Figure 1. spl-transport-stats

1? 
2.1 -F
2.1 --use-transport
1 transport-name? 
2.1 -h
2.1 --help? 
2.1 -i
2.1 --instance-id
1 instance-name? 
2.1 -l
2.1 --local? 
2.1 -o
2.1 --output-directory
1 path? 
2.1 -s
2.1 --silent
spl-transport-stats -h,--help |
[-F, --use-transport <transport-name>]
[-s, --silent] [-l, --local]
[-o, --output-directory <path>]
[-i, --instance-id <instance-name>]

Authority

You do not need any authority to run this command.

Description

The command generates the transport statistics model in a file named transportStatModelFor_xx.xml, where xx is the transport name passed with the -F or --use-transport command parameter.

Options and arguments

-F, --use-transport transport-name
Specifies to run the transport performance test for a specific transport. The following values are valid for transport-name: tcp; llm_rum_tcp; llm_rum_ib. These values are case sensitive. The default value is tcp.
Restrictions: If you use the LLM transport, do not enable encrypted connections between processing elements. If both the LLM transport and encrypted connections are enabled, the processing elements can't connect.
-h, --help
Specifies to show the command syntax and help information.
-i, --instance-id instance-name
Specifies the instance identifier. If you do not specify this option, Teracloud® Streams uses the instance identifier that is set in the STREAMS_INSTANCE_ID environment variable. By default, that instance identifier is StreamsInstance.
-l, --local
Specifies to locate the performance test operators on the same host by using a hostColocation config clause. The host where the application runs is chosen from the instance hosts when the application is submitted. The instance hosts might not include the host where you run the spl-transport-stats command. In this case, the output file name has _local as a suffix. For example, transportStatModelFor_xx_local.xml.
-o, --output-directory path
Specifies the directory where the file is output. The default path is ./output/etc/stat, relative to the current directory.
-s, --silent
Specifies to suppress the command output messages.