Created
March 29, 2021 17:10
-
-
Save weisk/97244d40390f2938315611f1220893f6 to your computer and use it in GitHub Desktop.
Continuously make requests to a server with curl and measure the request frequency with pv
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
#!/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