Last active
August 29, 2015 14:19
-
-
Save gdulus/f26cd2eaeb24feff3461 to your computer and use it in GitHub Desktop.
Simulate slow network connection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #### | |
| # 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