Created
January 5, 2023 04:51
-
-
Save serverok/83d6f79fc47d0060c72538c066849950 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
whmapi1 configureservice service=cpsrvd enabled=1 monitored=0 | |
whmapi1 configureservice service=mysql enabled=1 monitored=0 | |
whmapi1 configureservice service=httpd enabled=1 monitored=0 | |
/scripts/restartsrv_cpsrvd --stop | |
/scripts/restartsrv_mysql --stop | |
/scripts/restartsrv_httpd --stop | |
wget https://raw.githubusercontent.com/serverok/server-setup/master/benchmark/geekbench-5.sh | |
bash ./geekbench-5.sh | |
/scripts/restartsrv_cpsrvd --start | |
/scripts/restartsrv_mysql --start | |
/scripts/restartsrv_httpd --start | |
whmapi1 configureservice service=cpsrvd enabled=1 monitored=1 | |
whmapi1 configureservice service=mysql enabled=1 monitored=1 | |
whmapi1 configureservice service=httpd enabled=1 monitored=1 | |
rm -f geekbench-5.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It will stop Apache, MySQL, and Cpanel, then run geekbench 5. Websites will be unavailable during the time benchmark is running, so servers won't be overloaded, giving you more accurate benchmark results