Skip to content

Instantly share code, notes, and snippets.

@GiorgioRegni
Created November 17, 2015 18:55
Show Gist options
  • Save GiorgioRegni/d7855182331b32649311 to your computer and use it in GitHub Desktop.
Save GiorgioRegni/d7855182331b32649311 to your computer and use it in GitHub Desktop.
Test script for our network investigation
#!/bin/sh
VICTIM="$1"
echo "Starting network tests to $VICTIM"
for CONNECTIONS in 1 10 100 1000 10000 ; do
echo $CONNECTIONS connections
iperf -P $CONNECTIONS -c $VICTIM
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment