3 # Does a dbench run (10 clients if $DBENCH_CLIENTS is not set),
4 # then massages the output into CSV format.
6 DBENCH_CLIENTS=${DBENCH_CLIENTS:=10}
10 mkdir ./dbench || exit 1
11 dbench $DBENCH_CLIENTS || exit 1
12 rm -fr ./dbench || exit 1
16 # "Throughput 40.6701 MB/sec (NB=50.8376 MB/sec 406.701 MBit/sec)"
22 run_dbench | perl -ne \
23 'if (m/^Throughput (\S+) /) { print '$DBENCH_CLIENTS',",",$1,"\n"; }'