Skip to content

Instantly share code, notes, and snippets.

@SamWhited
Created March 6, 2012 20:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save SamWhited/1988790 to your computer and use it in GitHub Desktop.
Save SamWhited/1988790 to your computer and use it in GitHub Desktop.
Continuously make requests to a server with curl and measure the request frequency with pv
#!/usr/sbin/env bash
while true; do
curl $1 -s > /dev/null
echo .
done | pv -l > /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment