docs: create debian/limit-upload-speed
This commit is contained in:
26
debian/limit-upload-speed.md
vendored
Normal file
26
debian/limit-upload-speed.md
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
title: limit upload speed
|
||||
description:
|
||||
published: true
|
||||
date: 2024-04-17T23:05:48.313Z
|
||||
tags:
|
||||
editor: markdown
|
||||
dateCreated: 2024-04-17T23:05:48.313Z
|
||||
---
|
||||
|
||||
### check speed
|
||||
```bash
|
||||
speedtest
|
||||
```
|
||||
### view eth0 speed
|
||||
```bash
|
||||
nload eth0
|
||||
```
|
||||
### limit upload to 50Mbit
|
||||
```bash
|
||||
tc qdisc add dev eth0 root tbf rate 500kbit burst 16kbit latency 50ms
|
||||
```
|
||||
### remove limit on upload
|
||||
```bash
|
||||
tc qdisc del dev eth0 root
|
||||
```
|
||||
Reference in New Issue
Block a user