Skip to content

Instantly share code, notes, and snippets.

@danielantelo
Last active December 28, 2017 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielantelo/760fa031211be1956deac89a4b6a0f4b to your computer and use it in GitHub Desktop.
Save danielantelo/760fa031211be1956deac89a4b6a0f4b to your computer and use it in GitHub Desktop.
script to apache benchmark website (ab tool)
#!/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