Mettre à jour 'sysbench.sh'

This commit is contained in:
virtubox 2018-01-24 10:59:18 +00:00
parent 95ce5658de
commit f5196caba1
1 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
apt update && apt install sysbench -y &>/dev/null
sysbench --test=cpu --cpu-max-prime=20000 run
sysbench --test=fileio --file-total-size=5G prepare
sysbench --test=fileio --file-total-size=5G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run
sysbench --test=fileio --file-total-size=5G cleanup
sysbench --test=cpu --cpu-max-prime=20000 run > sysbench.log
sysbench --test=fileio --file-total-size=5G prepare &>/dev/null
sysbench --test=fileio --file-total-size=5G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run > sysbench.log
sysbench --test=fileio --file-total-size=5G cleanup &>/dev/null