Skip to content

Instantly share code, notes, and snippets.

Created January 5, 2023 04:51
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
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
bash ./
/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
Copy link

serverok commented Jan 5, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment