Question
How do I run a benchmark with Apache's ab command?
Answer
Warning: cPanel support cannot run Apache ab on your behalf, as it may cause stability and performance issues with your domains during testing. If assistance is needed with running Apache ab, please contact a qualified system administrator.
To perform a benchmark:
- Log in to SSH as
rootor use the WHM Terminal. -
Run the ab command with the following syntax:
ab -n 100 -c 10 http://domain.tld/
Note: The c value represents the number of requests to be active at a time.
http://domain.tld/ represents the URL to request.