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
| Option | Value | Description |
|---|---|---|
-v, --verbose | flag | Show additional diagnostic progress. |
-q, --quiet | flag | Suppress progress output. |
--color | auto|always|never | Control color in human-readable output. |
--http-port | PORT | Set the sensor HTTP port. |
--rdt-port | PORT | Set the sensor RDT port. |
--timeout | DURATION | Set the connection timeout. |
--format | auto|text|json|table|ndjson|csv | Select the output format. |
--output | PATH | Write output to a file. |
--duration | DURATION | Stop after a bounded duration. |
--min-rate | NUMBER | Require a minimum observed receive rate. |
--max-loss | NUMBER | Allow at most this packet loss percentage. |
--max-reconnects | INTEGER | Allow at most this many reconnects. |
Exit status
| Code | Meaning |
|---|---|
0 | Completed successfully |
2 | Invalid command line or configuration |
3 | Sensor discovery failed |
4 | Stream connection or acquisition failed |
5 | Sensor reported a fault |
6 | Input/output operation failed |
7 | A check acceptance criterion failed |
130 | Interrupted |
Examples
netft check sensor.example
netft check sensor.example --format json