smc_run - Run a TCP socket program with the SMC protocol using a preloaded library
Use the smc_run command to
start a TCP socket program that uses SMC as the networking protocol.
Where:
- smc_run <program> <program_parameters>
- Starts the specified TCP socket program with the specified parameters, using the SMC protocol.
- -d
- Optional: Display diagnostic messages while the program is running.
- -h
- displays help information for the command.
- -r <size>
- requests a receive buffer with a specific size. Specify the size in bytes, use a suffix (k or K) for kilobytes, or use a suffix (m or M) for megabytes.
- -t <size>
- requests a transmit buffer with a specific size. Specify the size in bytes, use a suffix (k or K) for kilobytes, or use a suffix (m or M) for megabytes.
- -v
- displays the version of the smc_run command.
Examples
- To start a program called iperf3 with parameters "-s -p
12345":
# smc_run iperf3 -s -p 12345 ----------------------------------------------------------- Server listening on 12345 ----------------------------------------------------------- ...
- To start a program called iperf3 with parameters "-s -p 12345" and diagnostic
messages:
# smc_run -d iperf3 -s -p 12345
- To start a program called iperf3 with parameters "-s -p
12345", and with a request for a receive buffer of 16 KB and a transmit buffer of 512
KB:
# smc_run -r 16384 -t 512k iperf3 -s -p 12345