Created
December 3, 2013 01:57
-
-
Save russtaylor/7762643 to your computer and use it in GitHub Desktop.
Little script to introduce latency on all outgoing requests from my machine.
This file contains 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
#!/bin/bash | |
tc qdisc del dev eth0 root |
This file contains 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
#!/bin/bash | |
tc qdisc add dev eth0 root netem delay 500ms 100ms 25% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment