Skip to content

Instantly share code, notes, and snippets.

View sabretus's full-sized avatar

Lev Petrushchak sabretus

  • Quiq
  • Ukraine, Lviv
View GitHub Profile
@denilsonsa
denilsonsa / README.md
Last active August 18, 2024 01:28 — forked from a9cQ0Q/README.md

slow

This bash script offers quick shortcuts to simulate slower network connections. It is useful when you need to simulate a wireless network on a Linux network server, especially when you are using a virtual machine guest on your local machine or in the cloud.

slow 3G                   # Slow network on default eth0 down to 3G wireless speeds
slow 3G -l 600ms -p 10%   # slow network on eth0 and setup latency to 600ms packetloss to 10%
slow reset                # Reset connection for default eth0 to normal
slow vsat --latency=500ms # Simulate satellite internet  with a high latency

slow dsl -b 1mbps # Simulate DSL with a slower speed than the default