Created
August 21, 2012 14:13
-
-
Save rafalw/3415871 to your computer and use it in GitHub Desktop.
Skrypt powłoki wykonujący polecenia testowania serwerów.
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
#!/bin/bash | |
for i in 0 1 2 3 4 5 6 7 8 9 | |
do | |
# Test nginx | |
ab -n 2000 -c 200 http://192.168.1.2/date_srv.php > tst-nginx-$i | |
# Test node.js | |
ab -n 2000 -c 200 http://192.168.1.2:8081/ > tst-node-$i | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment