deal multi packages

This commit is contained in:
hebo
2019-08-16 23:02:08 +08:00
parent 30c0b35811
commit 16a5d8db26
6 changed files with 158 additions and 27 deletions

4
scripts/sysbench.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bash
sysbench /usr/share/sysbench/oltp_read_only.lua --mysql-host=192.XX.XX.XX --mysql-port=3306 --mysql-user=root --mysql-password='' --mysql-db=sniffer --db-driver=mysql --tables=10 --table-size=1000000 --report-interval=10 --threads=128 --time=120 prepare
sysbench /usr/share/sysbench/oltp_read_only.lua --mysql-host=192.XX.XX.XX --mysql-port=3306 --mysql-user=root --mysql-password='' --mysql-db=sniffer --db-driver=mysql --tables=10 --table-size=1000000 --report-interval=10 --threads=128 --time=120 run