Linux :: Simulate Slow Server

Blog Post created by Patrick-Dussault Employee on Jan 19, 2016

If you want to simulate your Policy Server or Web Agent responding slowly on a Linux box, you can do some traffic control on the machine by using the tc command.


To set a delay of 100ms on the network interface :


# tc qdisc add dev eth0 root netem delay 100ms


to verify the configuration :


# tc -s qdisc


to remove the configuration


# tc qdisc del dev eth0 root netem


where eth0 is the network device.