You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
183 B

  1. #!/usr/bin/env bash
  2. if [ -z $1 ]; then
  3. procs=1
  4. else
  5. procs=$1
  6. fi
  7. bench_exec="sysbench"
  8. bench_var="--num-threads=$procs"
  9. bench="$bench_exec $benc_var"
  10. $bench --test=mem run