Skip to content

Instantly share code, notes, and snippets.

@TomTasche
Created October 19, 2017 12:27
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 TomTasche/3489a3d0d56186d92c6488aec838b932 to your computer and use it in GitHub Desktop.
Save TomTasche/3489a3d0d56186d92c6488aec838b932 to your computer and use it in GitHub Desktop.
generate random file, send to server and print time
#!/bin/bash
echo "time_total: %{time_total}\n" > curl_format.txt
dd if=/dev/urandom of=data.txt bs=100K count=1
while true; do curl -X POST -w "@curl_format.txt" -d @data.txt -s https://requestb.in/1j4ph411; done;
@TomTasche
Copy link
Author

can be used to measure stability of wifi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment