Skip to main content

netft check

Runs a bounded stream and reports measured rate, sequence continuity, status, and recovery. Criteria are opt-in; a violated configured criterion exits with code 7.

Synopsis

netft check [HOST] [OPTIONS]

Run a bounded sensor stream health check.

Options

OptionValueDescription
-v, --verboseflagShow additional diagnostic progress.
-q, --quietflagSuppress progress output.
--colorchoiceControl color in human-readable output.
--http-portportSet the sensor HTTP port.
--rdt-portportSet the sensor RDT port.
--timeoutdurationSet the connection timeout.
--formatchoiceSelect the output format.
--outputpathWrite output to a file.
--durationdurationStop after a bounded duration.
--min-ratepositive-numberRequire a minimum observed receive rate.
--max-lossnonnegative-numberAllow at most this packet loss percentage.
--max-reconnectsnonnegative-integerAllow at most this many reconnects.

Exit status

CodeMeaning
0Completed successfully
2Invalid command line or configuration
3Sensor discovery failed
4Stream connection or acquisition failed
5Sensor reported a fault
6Input/output operation failed
7A check acceptance criterion failed
130Interrupted

Examples

netft check sensor.example
netft check sensor.example --format json