Simulate latency on network connection
For testing purposes, we may want to add latency to an interface. This way we could simulate how an application would respond to the extra delay.
tc qdisc add dev eth0 root netem delay 80ms 15ms distribution normal
The tc command can be used to add latency on an interface for testing purposes
What do you think, was this useful?