Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »


http://www.mariopinho.com/en/how-to-simulate-latency-linux/




set / break

#!/bin/bash

echo " "
echo "Initialzing poor connection quality"
echo " "

sudo tc qdisc add dev eth2 root netem delay 300ms loss 25%

release / finish

#!/bin/bash

echo " "
echo "Repaired connection quality"
echo " "

sudo tc qdisc del dev eth2 root netem

showtc qdisc show  dev eth0
















  • No labels