spl-transport-stats
The spl-transport-stats command creates a transport statistics model by running a transport performance test.
Usage
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.