clean.sh (606B)
1 sed -i -r -e 's/^(m.*|OK|Network|Hosts.*|.*bench.*)$//' imb-exchange-*/* 2 3 peek=16384 4 #peek=131072 5 for n in br macvlan none; do 6 > peek-exchange.$n 7 for i in $(seq 2 8); do 8 # echo -en "$i\t" >> peek-exchange.$n 9 grep $peek imb-exchange-$n/imb.${i}.out | sed -re 's/^.*$/'$i'&/' >> peek-exchange.$n 10 done 11 sort -nk1 peek-exchange.$n | sponge peek-exchange.$n 12 > $n.all 13 for i in $(seq 3 8); do 14 cat imb-exchange-$n/imb.${i}.out >> $n.all 15 done 16 sort -nk1 $n.all | grep -vE '^[[:blank:]]*#' | grep -vE '^[[:blank:]]*$' | sponge $n.all 17 done 18 ln -sf br.all veth.all 19 ln -sf peek-exchange.br peek-exchange.veth