Browse Source

Mettre à jour 'sysbench.sh'

master
virtubox 2 years ago
parent
commit
6133827a57
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      sysbench.sh

+ 2
- 1
sysbench.sh View File

@ -2,7 +2,7 @@
if [ ! -f /etc/apt/sources.list.d/akopytov_sysbench.list ];then
curl -s https://packagecloud.io/install/repositories/akopytov/sysbench/script.deb.sh | sudo bash
sudo apt -y install sysbench
apt-get install -y sysbench
fi
echo "" > sysbench.log
@ -33,6 +33,7 @@ echo "Disk Benchmark"
echo "#################################"
echo ""
} >> sysbench.log
sysbench fileio --file-total-size=5G prepare &>/dev/null
sysbench fileio --file-total-size=5G --file-test-mode=rndrw --time=300 --max-requests=0 run >> sysbench.log
sysbench fileio --file-total-size=5G cleanup &>/dev/null

Loading…
Cancel
Save