TradeViceroy
08-31-2002, 12:29 AM
Hello:
Anyone remember that script or program that performed simulated loads on a Linux web server? I ran a search, but nothing worthwhile came up.
I'd like to test that out on a few servers we have here. Thanks!
insiderhosting
08-31-2002, 03:29 AM
Yeah it's called apache benchmark. Check out the /usr/local/apache/bin/ab is the program location.
-Steven
jonaskb
08-31-2002, 05:54 AM
Just to avoid confusion: The program is called Apache Bench, not Apache Benchmark, and /usr/local/apache/bin/ab *is* the program - it's not a directory. Keep in mind that ab might be installed in another directory on your system.
Here's an example of sending 200 HTTP queries to localhost:
ab -n 200 http://localhost/
You can make some of those 200 request happen at the same time (to emulate a server with a high number of users requesting pages at the same time):
ab -n 200 -c 20 http://localhost/
This will make ab query the server with 20 requests simultaneously until it has performed 200 requests.
aqua4
08-31-2002, 05:18 PM
There is also dbench and SMTP Torture on the Samba site