Skip to content

Instantly share code, notes, and snippets.

@fedir
Last active February 6, 2018 15:19
Show Gist options
  • Select an option

  • Save fedir/7973f548b0cb303fe5f1 to your computer and use it in GitHub Desktop.

Select an option

Save fedir/7973f548b0cb303fe5f1 to your computer and use it in GitHub Desktop.
Test bandwidth between 2 machines
TARGET="user@server"
dd if=/dev/zero bs=8k count=8k of=test.img;
rsync -avh test.img $TARGET:~/test.img;
ssh $TARGET 'rm -f ~/test.img'
rm -f test.img
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment