Browse Source

Mettre à jour 'sysbench.sh'

master
virtubox 4 years ago
parent
commit
f5196caba1
  1. 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…
Cancel
Save