Skip to content

Instantly share code, notes, and snippets.

@gdulus
Last active August 29, 2015 14:19
Show Gist options
  • Select an option

  • Save gdulus/f26cd2eaeb24feff3461 to your computer and use it in GitHub Desktop.

Select an option

Save gdulus/f26cd2eaeb24feff3461 to your computer and use it in GitHub Desktop.
Simulate slow network connection
####
# tested on Ubuntu
####
# add 2min delay on eth0
sudo tc qdisc add dev eth0 root netem delay 120000ms
# remove delay
sudo tc qdisc del dev eth0 root netem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment