iperf3_plotter
iperf3_plotter copied to clipboard
split: null: invalid number of lines
preprocessor.sh trows error "split: null: invalid number of lines" because the following line looks for ".end.sum_sent.seconds" but the json output has ".end.sum.seconds"
num_flows=jq '.end.sum_sent.seconds' $1 | cut -d. -f1
json output looks like this: ... "sum": { "start": 0, "end": 18000.060148, "seconds": 18000.060148, "bytes": 0, "bits_per_second": 0, "jitter_ms": 0.053463, "lost_packets": 481, "packets": 62154384, "lost_percent": 0.000774 }, ...