Skip to content

Instantly share code, notes, and snippets.

@TomTasche
Created October 19, 2017 12:27
Show Gist options
  • Select an option

  • Save TomTasche/3489a3d0d56186d92c6488aec838b932 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown
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