Make bench script output clearer for people reading the output first thing in the...
[xfstests-dev.git] / common.dbench
index d5fabb1af59b3bcd8b61400bd5ad2e5a2dc661e7..d3cd53438353b3f467caedbb2d9514f56e4eeccb 100755 (executable)
@@ -21,7 +21,7 @@ run_dbench()
 # "Throughput 40.6701 MB/sec (NB=50.8376 MB/sec  406.701 MBit/sec)"
 # 
 if [ $# -gt 0 ]; then
-       echo "clients,MB/sec"
+       printf "%8s, %s\n" clients MB/sec
        exit 0
 fi
-run_dbench | awk 'END { printf "%u,%s\n", '$DBENCH_CLIENTS', $2 }'
+run_dbench | awk 'END { printf "%8u, %s\n", '$DBENCH_CLIENTS', $2 }'