Dbench: Internet Offline - VM 1-4CORE 512-4096M RAM
Jump to navigation
Jump to search
Run
chmod 777 dbench* dbench-vmall.sh
dbench-vmall.sh
cd /home/onno /home/onno/dbench-vm1.sh /home/onno/dbench-vm2.sh /home/onno/dbench-vm3.sh /home/onno/dbench-vm4.sh
dbench-vm1.sh
# sudo umount /mnt/public # sudo mount -t cifs //192.168.0.3/public /mnt/public -o username=onno,password=123456 rm -Rf hasiltest.txt touch hasiltest.txt VBoxManage controlvm "Offline" acpipowerbutton sleep 30 VBoxManage modifyvm "Offline" --memory 512 VBoxManage modifyvm "Offline" --unplugcpu 3 VBoxManage modifyvm "Offline" --unplugcpu 2 VBoxManage modifyvm "Offline" --unplugcpu 1 VBoxManage startvm "Offline" sleep 100 /home/onno/dbenchscript-10-100.sh mv hasiltest.txt hasiltest-192.168.0.3-1CORE-512M.txt rm -Rf /mnt/public/* rm -Rf hasiltest.txt touch hasiltest.txt VBoxManage controlvm "Offline" acpipowerbutton sleep 30 VBoxManage modifyvm "Offline" --memory 1024 VBoxManage modifyvm "Offline" --unplugcpu 3 VBoxManage modifyvm "Offline" --unplugcpu 2 VBoxManage modifyvm "Offline" --unplugcpu 1 VBoxManage startvm "Offline" sleep 100 /home/onno/dbenchscript-10-100.sh mv hasiltest.txt hasiltest-192.168.0.3-1CORE-1024M.txt rm -Rf /mnt/public/* rm -Rf hasiltest.txt touch hasiltest.txt VBoxManage controlvm "Offline" acpipowerbutton sleep 30 VBoxManage modifyvm "Offline" --memory 2048 VBoxManage modifyvm "Offline" --unplugcpu 3 VBoxManage modifyvm "Offline" --unplugcpu 2 VBoxManage modifyvm "Offline" --unplugcpu 1 VBoxManage startvm "Offline" sleep 100 /home/onno/dbenchscript-10-100.sh mv hasiltest.txt hasiltest-192.168.0.3-1CORE-2048M.txt rm -Rf /mnt/public/* rm -Rf hasiltest.txt touch hasiltest.txt VBoxManage controlvm "Offline" acpipowerbutton sleep 30 VBoxManage modifyvm "Offline" --memory 4096 VBoxManage modifyvm "Offline" --unplugcpu 3 VBoxManage modifyvm "Offline" --unplugcpu 2 VBoxManage modifyvm "Offline" --unplugcpu 1 VBoxManage startvm "Offline" sleep 100 /home/onno/dbenchscript-10-100.sh mv hasiltest.txt hasiltest-192.168.0.3-1CORE-4096M.txt rm -Rf /mnt/public/*
==dbench-vm2.sh==# sudo umount /mnt/public
# sudo mount -t cifs //192.168.0.3/public /mnt/public -o username=onno,password=123456 rm -Rf hasiltest.txt touch hasiltest.txt VBoxManage controlvm "Offline" acpipowerbutton sleep 30 VBoxManage modifyvm "Offline" --memory 512 VBoxManage modifyvm "Offline" --unplugcpu 3 VBoxManage modifyvm "Offline" --unplugcpu 2 VBoxManage modifyvm "Offline" --plugcpu 1 VBoxManage startvm "Offline" sleep 100 /home/onno/dbenchscript-10-100.sh mv hasiltest.txt hasiltest-192.168.0.3-2CORE-512M.txt rm -Rf /mnt/public/* rm -Rf hasiltest.txt touch hasiltest.txt VBoxManage controlvm "Offline" acpipowerbutton sleep 30 VBoxManage modifyvm "Offline" --memory 1024 VBoxManage modifyvm "Offline" --unplugcpu 3 VBoxManage modifyvm "Offline" --unplugcpu 2 VBoxManage modifyvm "Offline" --plugcpu 1 VBoxManage startvm "Offline" sleep 100 /home/onno/dbenchscript-10-100.sh mv hasiltest.txt hasiltest-192.168.0.3-2CORE-1024M.txt rm -Rf /mnt/public/* rm -Rf hasiltest.txt touch hasiltest.txt VBoxManage controlvm "Offline" acpipowerbutton sleep 30 VBoxManage modifyvm "Offline" --memory 2048 VBoxManage modifyvm "Offline" --unplugcpu 3 VBoxManage modifyvm "Offline" --unplugcpu 2 VBoxManage modifyvm "Offline" --plugcpu 1 VBoxManage startvm "Offline" sleep 100 /home/onno/dbenchscript-10-100.sh mv hasiltest.txt hasiltest-192.168.0.3-2CORE-2048M.txt rm -Rf /mnt/public/* rm -Rf hasiltest.txt touch hasiltest.txt VBoxManage controlvm "Offline" acpipowerbutton sleep 30 VBoxManage modifyvm "Offline" --memory 4096 VBoxManage modifyvm "Offline" --unplugcpu 3 VBoxManage modifyvm "Offline" --unplugcpu 2 VBoxManage modifyvm "Offline" --plugcpu 1 VBoxManage startvm "Offline" sleep 100 /home/onno/dbenchscript-10-100.sh mv hasiltest.txt hasiltest-192.168.0.3-2CORE-4096M.txt rm -Rf /mnt/public/*