When developing a website or app it’s useful to see what things feel like at different speeds.
I just wanted to share the commands I’ve been using to acheive this. You could use this for limiting your traffic if you’re downloading something but don’t want to hog your connection if it’s shared.
So pop open Terminal.app and try the following:
Limiting port 80 to dialup speed:
sudo ipfw pipe 1 config bw 7KByte/s;sudo ipfw add 1 pipe 1 src-port 80;echo '\''Limiting port 80 to 7kbps'\'
Removing the limit and restoring port 80 back to full speed:
sudo ipfw delete 1;echo '\''Traffic resuming at full speed!'\'
And of course you can alter the speed and port to whatever you like.
So there you have it, an easy little tip. Comes in handy at times, trust me.
Interesting. I’m going to give this a go. The only other solutions I’ve seen is software based but this looks promising. How reliable is it though?