parse_output.sh 232 Bytes
Newer Older
1
2
3
4
5
6
7
#!/bin/bash
# Execute this in a folder with outputs.
# It only uses the total average throughput as output.

DUR=30
echo MTU K Throughput
grep 0.0-$DUR *.txt | sed 's/:/ /g' | sed 's/-/ /g' | sort -h -k2 | awk '{print $1, $2, $11}'