Last active
December 28, 2017 12:29
-
-
Save danielantelo/760fa031211be1956deac89a4b6a0f4b to your computer and use it in GitHub Desktop.
script to apache benchmark website (ab tool)
This file contains hidden or 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 | |
# command to run apache benchmark tool | |
# ** usage ** | |
# ./benchmark "https://www.apple.com/" | |
curl -X GET "$1" | |
ab -k -c 20 -n 250 "$1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment