Skip to content

Instantly share code, notes, and snippets.

@michaelcoburn
Created April 23, 2018 21:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelcoburn/c43e4f36e815d97101cdc379352d5484 to your computer and use it in GitHub Desktop.
Save michaelcoburn/c43e4f36e815d97101cdc379352d5484 to your computer and use it in GitHub Desktop.
[percona@client ~]$ cat sysbench.sh
#!/bin/bash
# Run small oltp read write test
sysbench \
--threads=1 \
--events=0 \
--time=0 \
--rate=1 \
--report-interval=1 \
--db-driver=mysql \
--mysql-password=sbtest \
/usr/share/sysbench/oltp_read_write.lua \
run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment