bachelorThesis/figure_9/9c-total.sh
2021-04-27 14:18:14 +02:00

7 lines
201 B
Bash
Executable file

#!/bin/sh
i=$1
cut ${i}_machine_count/part-00000 -d, -f2-3 | \
sort | uniq -c | sed 's/^\s*//' | tr ' ' ',' | \
awk 'BEGIN {print "count,term,task_count"} {print $0}' > ${i}_term_machine_count.csv