Browse Source

Mettre à jour 'sysbench.sh'

master
virtubox 3 years ago
parent
commit
f5196caba1
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      sysbench.sh

+ 5
- 5
sysbench.sh 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

Loading…
Cancel
Save