mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-10-09 14:31:13 +00:00
Website snapshot
This commit is contained in:
parent
ee0ab66d73
commit
50ec3688a5
281 changed files with 21066 additions and 0 deletions
37
content/blog/limitbandwidth.md
Normal file
37
content/blog/limitbandwidth.md
Normal file
|
@ -0,0 +1,37 @@
|
|||
---
|
||||
title: "Limit Bandwidth through Terminal"
|
||||
date: 2020-01-15T19:51:45-05:00
|
||||
draft: false
|
||||
images: []
|
||||
---
|
||||
|
||||
Have you ever wondered how an application or a system would operate under low bandwidth environments? Luckily `wondershaper` is a tool to help with just that!
|
||||
|
||||
```bash
|
||||
sudo apt install wondershaper
|
||||
```
|
||||
|
||||
To get started, first find out the network `interface` that you want to throttle.
|
||||
|
||||
```bash
|
||||
ip addr show
|
||||
```
|
||||
|
||||
To show the state of the interface,
|
||||
|
||||
```bash
|
||||
sudo wondershaper [interface]
|
||||
```
|
||||
|
||||
To set the bandwidth,
|
||||
|
||||
```bash
|
||||
sudo wondershaper [interface] [downlink] [uplink]
|
||||
```
|
||||
where downlink and uplink are defined in kilobits per second.
|
||||
|
||||
To clear the rules,
|
||||
|
||||
```bash
|
||||
sudo wondershaper clear [interface]
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue