Skip to content

Instantly share code, notes, and snippets.

@russtaylor
Created December 3, 2013 01:57
Show Gist options
  • Save russtaylor/7762643 to your computer and use it in GitHub Desktop.
Save russtaylor/7762643 to your computer and use it in GitHub Desktop.
Little script to introduce latency on all outgoing requests from my machine.
#!/bin/bash
tc qdisc del dev eth0 root
#!/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