OS/Linux

Linux wondershaper을 이용한 QOS 적용

ploz 2021. 3. 18. 18:19
반응형
 

magnific0/wondershaper

Command-line utility for limiting an adapter's bandwidth - magnific0/wondershaper

github.com

 

  •  사용법
    • 설정 : wondershaping -a <if> -d <downlink,kbps> -u <uplink,kbps>
    • 설정 제거 : wondershaping -c -a <if>
    • 상태 확인 : wondershaping -s -a <if>
       
       
  • 사용예
    • 100Mbps 로 설정
wondershaper -a em2 -d 102400
  •  상태확인
wondershaper -s -a em2
qdisc htb 1: root refcnt 6 r2q 10 default 20 direct_packets_stat 271
 Sent 32413 bytes 273 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc ingress ffff: parent ffff:fff1 ----------------
 Sent 198355 bytes 760 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0

 

 

 

반응형