aboutsummaryrefslogtreecommitdiff
path: root/content/blog/miscellaneous/tc.md
diff options
context:
space:
mode:
authorJulien Dessaux2021-03-19 23:39:19 +0100
committerJulien Dessaux2021-03-19 23:39:19 +0100
commit80c6fffa7149f4ea96f0a5e0e71121d9def70118 (patch)
tree1147c33cd5ec8a4882cf1a2cf627c4a62576ea2c /content/blog/miscellaneous/tc.md
parentRewording (diff)
downloadwww-80c6fffa7149f4ea96f0a5e0e71121d9def70118.tar.gz
www-80c6fffa7149f4ea96f0a5e0e71121d9def70118.tar.bz2
www-80c6fffa7149f4ea96f0a5e0e71121d9def70118.zip
Continued importing some old wiki content
Diffstat (limited to 'content/blog/miscellaneous/tc.md')
-rw-r--r--content/blog/miscellaneous/tc.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/content/blog/miscellaneous/tc.md b/content/blog/miscellaneous/tc.md
new file mode 100644
index 0000000..58268a6
--- /dev/null
+++ b/content/blog/miscellaneous/tc.md
@@ -0,0 +1,22 @@
+---
+title: Traffic shaping with tc
+date: 2019-09-17
+description: How to use the tc command to shape traffic on linux
+tags:
+ - linux
+---
+
+## How to
+
+{{< highlight sh >}}
+tc qdisc show dev eth0
+tc qdisc add dev eth0 root netem delay 200ms
+tc qdisc show dev eth0
+
+tc qdisc delete dev eth0 root netem delay 200ms
+tc qdisc show dev eth0
+{{< /highlight >}}
+
+## References
+
+ - https://www.badunetworks.com/traffic-shaping-with-tc/