gpeng-throttler 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +9 -0
- data/VERSION +1 -1
- data/throttler.gemspec +1 -1
- metadata +1 -1
data/README.rdoc
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
= throttler
|
|
2
|
+
N.B. This gem uses ipfw. It does not currently check for existing firewall rules and if there are any conflicting ones it may remove them when restore is called. To check for existing rules run 'sudo ipfw list'. If you only have one rule with the id 65535 then you are ok. If there are rules with id 00001 or 00002 don't use this version of the gem.
|
|
2
3
|
|
|
3
4
|
Enables simple managment of bandwidth throttling to allow testing of web apps/content across various connection speeds.
|
|
4
5
|
|
|
6
|
+
== Usage
|
|
7
|
+
|
|
8
|
+
Installation - sudo gem install gpeng-throttler
|
|
9
|
+
Limit bandwidth (n is the bandwidth required in Kbit/s)- throttler throttle n
|
|
10
|
+
Restore bandwidth - throttler restore
|
|
11
|
+
|
|
12
|
+
That's it...
|
|
13
|
+
|
|
5
14
|
== Note on Patches/Pull Requests
|
|
6
15
|
|
|
7
16
|
* Fork the project.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.1
|
data/throttler.gemspec
CHANGED