Âü°í
http://www.speedtest.net/
ÆÄÀ̼ÇÀ¸·Î ¸¸µé¾îÁø µµ±¸·Î HTTP GET ¹× POST ¿äûÀ» Àü¼ÛÇÏ¿© ´Ù¿î·Îµå/¾÷·Îµå¸¦ ÃøÁ¤ÇÕ´Ï´Ù.
python 2.4-3.4 ÀÌ»óÀÌ¸é °¡´É
# rpm -qa |grep python
python-2.7.3-13.fc18.x86_64
Install
:: ¼³Ä¡´Â ÆÄÀÌ¼Ç ÆÄÀÏÇϳª¸¸ ¹ÞÀ¸¸é ³¡...
# wget https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py# chmod a+rx speedtest_cli.py
# mv speedtest_cli.py /usr/local/bin/speedtest_cli
# speedtest_cli --help
usage: speedtest_cli [-h] [--bytes] [--share] [--simple] [--list]
[--server SERVER] [--mini MINI] [--source SOURCE]
[--version]
Command line interface for testing internet bandwidth using speedtest.net.
--------------------------------------------------------------------------
https://github.com/sivel/speedtest-cli
optional arguments:
-h, --help show this help message and exit
--bytes Display values in bytes instead of bits. Does not affect
the image generated by --share
--share Generate and provide a URL to the speedtest.net share
results image
--simple Suppress verbose output, only show basic information
--list Display a list of speedtest.net servers sorted by distance
--server SERVER Specify a server ID to test against
--mini MINI URL of the Speedtest Mini server
--source SOURCE Source IP address to bind to
--version Show the version number and exit
# speedtest_cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Smileserv (XXX.XXX.XXX.212)...
Selecting best server based on latency...
Hosted by Ookla (Seoul) [2.30 km]: 16.843 ms
Testing download speed........................................
Download: 304.80 Mbits/s
Testing upload speed..................................................
Upload: 98.71 Mbits/s
Å×½ºÆ®°á°ú¸¦ png ÆÄÀÏ·Î ÀúÀåÇؼ °øÀ¯ÇÒ°æ¿ì --share ¿É¼ÇÀ» »ç¿ëÇÏ°Ô µÇ¸é À¥¿¡¼µµ È®Àΰ¡´É
# speedtest_cli --share
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Smileserv (XXX.XXX.XXX.212)...
Selecting best server based on latency...
Hosted by Ookla (Seoul) [2.30 km]: 25.379 ms
Testing download speed........................................
Download: 184.62 Mbits/s
Testing upload speed..................................................
Upload: 260.26 Mbits/s
Share results °á°ú¸µÅ©·Î µé¾î°¡¸é ¾Æ·¡Ã³·³ È®Àΰ¡´ÉÇÕ´Ï´Ù.
´Ù¸¥³ª¶ó¿ÍÀÇ ¼Óµµ¸¦ üũÇϱâ À§Çؼ´Â speedtest.net ¿¡¼ Á¦°øÇÏ´Â ¸ñ·ÏÈ®ÀÎÇÏ°í ÃøÁ¤ÇÏ½Ã¸é µË´Ï´Ù.
È®ÀÎÇغ¸¸é Åë½Å»ç, ±¹°¡, °Å¸®°¡ ³ª¿À¸ç »ó´çÈ÷ ¸¹Àº ±¹°¡ ¸®½ºÆ®¸¦ Á¦°øÇÕ´Ï´Ù.
# speedtest_cli --list |wc -l
3057
# speedtest_cli --list
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
5249) Ookla (Seoul, South Korea) [2.30 km]
5017) China Unicom,Liaoning Branch (Shenyang, China) [533.38 km]
1185) China Unicom,Changchun Branch (Changchun, China) [715.36 km]
4024) Vladlink (Vladivostok, Russian Federation) [746.65 km]
3805) Alyans Telekom (Vladivostok, Russian Federation) [746.65 km]
1903) MTS (Vladivostok, Russian Federation) [746.65 km]
3133) Rostelecom (Vladivostok, Russian Federation) [746.65 km]
5083) Shanghai Branch, China Unicom (Shanghai, China) [868.27 km]
3633) China Telecom (Shanghai, China) [868.27 km]
.....................
.....................
¾Æ·¡ ¼¹ö ID ÇÏ°íÀÇ ¼ÓµµÃøÁ¤
1185) China Unicom,Changchun Branch (Changchun, China) [715.36 km]
# speedtest_cli --server 1185
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Smileserv (XXX.XXX.XXX.212)...
Hosted by China Unicom,Changchun Branch (Changchun) [715.36 km]: 66.118 ms
Testing download speed........................................
Download: 31.41 Mbits/s
Testing upload speed..................................................
Upload: 19.81 Mbits/s