Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How can I call ApacheBench on my server which is managed by Plesk? I have no idea on which URL to enter. I understand that it needs a local address, but which address should I use?

ab -c 10 -t 60 http://xxxxxx
share|improve this question

1 Answer 1

up vote 0 down vote accepted

Lets say your server www.mypleskmanagedserver.com has an IP of 123.123.123.123

On a *nix box OTHER than your webserver type

ab -c 10 -t 60 http://123.123.123.123

EDIT: Also it would be useful to mock up some sort of testing strategy.

Find which URLS are accessed most in you web application for example www.mypleskmanagedserver.com/seriouslyheavy.php

and test them accordingly.

If you have an index page that is fairly light and doenst do any heavy processing/db comm it would be misleading to just benchmark your homepage. Mix it up.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.