Created
December 23, 2012 04:24
-
-
Save kymair/4361955 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a temp big file on server | |
kymair:wwwroot/ $ dd if=/dev/zero of=file.zip bs=1M count=100 | |
# wget that file from client, two connections at the same time | |
➜ ~ wget kymair.com/file.zip > /dev/null 2&>1 & | |
[1] 79229 | |
➜ ~ wget kymair.com/file.zip > /dev/null 2&>1 & | |
[2] 79234 | |
# Client netstat result | |
➜ ~ netstat -na | grep 173.255.249.237 | |
tcp4 0 0 192.168.1.104.50792 173.255.249.237.80 ESTABLISHED | |
tcp4 0 0 192.168.1.104.50789 173.255.249.237.80 ESTABLISHED | |
# Server netstat result | |
kymair:wwwroot/ $ netstat -na |grep 113.76.78.174 [12:21:11] | |
tcp 0 184320 173.255.249.237:80 113.76.78.174:50792 ESTABLISHED | |
tcp 0 331200 173.255.249.237:80 113.76.78.174:50789 ESTABLISHED |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment