Continued importing some old wiki content
This commit is contained in:
parent
b1283325a5
commit
80c6fffa71
3 changed files with 58 additions and 0 deletions
22
content/blog/miscellaneous/tc.md
Normal file
22
content/blog/miscellaneous/tc.md
Normal file
|
@ -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/
|
Loading…
Add table
Add a link
Reference in a new issue