|
|
@ -0,0 +1,13 @@ |
|
|
|
#!/bin/bash |
|
|
|
wget -qO bench.sh https://raw.githubusercontent.com/hidden-refuge/bench-sh-2/master/bench.sh |
|
|
|
chmod +x bench.sh |
|
|
|
./bench.sh -sys |
|
|
|
yum install -y http://www.percona.com/downloads/percona-release/percona-release-0.0-1.x86_64.rpm |
|
|
|
yum install -y sysbench |
|
|
|
sysbench --test=cpu --cpu-max-prime=20000 run |
|
|
|
./bench.sh -io |
|
|
|
apt-get install -y python git |
|
|
|
git clone https://github.com/sivel/speedtest-cli.git |
|
|
|
python speedtest-cli/setup.py install |
|
|
|
cd speedtest-cli |
|
|
|
python ./speedtest_cli.py |