blob: ec5efd35b49af5e8329cfd9670b5729ec64cf1d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
awk '
/^d k/ {
reason = $11
succ[reason] += 1
xdelay[reason] += $5 - $4
}
END {
for (reason in succ) {
str = sprintf("%.2f",xdelay[reason])
print succ[reason],str,reason
}
}
'
|