Mettre à jour 'sysbench.sh'
This commit is contained in:
parent
95ce5658de
commit
f5196caba1
10
sysbench.sh
10
sysbench.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue