Skip navigation
All People > Patrick-Dussault > Patrick Dussault's Blog > 2016 > January > 19

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.