Almost Over

Тестирование скорости интернет соединения на сервере

Установка NGINX или Tengine на CentOS

Установка speedtest-cli

$ 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
$ chown root:root /usr/local/bin/speedtest-cli

Команды speedtest-cli

Тестирование скорости до ближайшего сервера

$ speedtest-cli

Поделиться результатами скорости

$ speedtest-cli --share

Вывести список доступных стран и городов для теста

$ speedtest-cli --list | more

Листинг будет отображен в порядке убывания расстояния от Вашего сервера.

Вывести список всех провайдеров для указанных стран и городов

$ speedtest-cli --list | grep -i Moscow

Россия, Москва

6386) Megafon (Moscow, Russian Federation) [755.43 km]
1907) MTS (Moscow, Russian Federation) [755.43 km]
3682) Rostelecom (Moscow, Russian Federation) [755.43 km]
4718) Beeline (Moscow, Russia) [755.43 km]
6325) OAO Transtelecom (Moscow, Russian Federation) [755.43 km]
4472) Dataline Ltd (Moscow, Russia) [755.43 km]
4984) CLN (Moscow, Russian Federation) [755.43 km]
6307) AVK Komputer ltd. (Moscow, Russian Federation) [755.43 km]
6053) MaximaTelecom (Moscow, Russian Federation) [755.43 km]
5201) NK-NET (Moscow, Russia) [755.43 km]
9321) RusCentroSvas (Moscow, Russian Federation) [755.43 km]
8072) Fortex (Moscow, Russian Federation) [755.43 km]
6827) MGTS (Moscow, Russian Federation) [755.43 km]
5040) Alfa Net Telecom (Moscow, Russian Federation) [755.43 km]
8945) VOLNA (Moscow, Russian Federation) [755.43 km]
6562) Tele2 Russia (Moscow, Russian Federation) [755.43 km]
6985) CIFRA1 (Moscow, Russian Federation) [755.43 km]
8486) mtel.ru (Moscow, Russian Federation) [755.43 km]
8367) Starlink (Moscow, Russian Federation) [755.43 km]
5581) Retn SJC (Moscow, Russian Federation) [755.43 km]
7531) Net By Net Holding LLC (Moscow, Russian Federation) [755.43 km]

$ speedtest-cli --list | grep -i 'Saint Petersburg'

Россия, Санкт-Петербург

1905) MTS (Saint Petersburg, Russian Federation) [1054.56 km]
2690) DOM.RU (Saint Petersburg, Russian Federation) [1054.56 km]
4139) Vimpelcom ltd (Saint Petersburg, Russian Federation) [1054.56 km]
4247) MTS OJSC (Saint Petersburg, Russian Federation) [1054.56 km]
6051) Tele2 Russia (Saint Petersburg, Russian Federation) [1054.56 km]
5237) Comfortel LLC. (Saint Petersburg, Russian Federation) [1054.56 km]
4231) ITSP Prometey (Saint Petersburg, Russian Federation) [1054.56 km]
5718) CJSC RASCOM (Saint Petersburg, Russian Federation) [1054.56 km]
4781) SDN (Saint Petersburg, Russian Federation) [1054.56 km]
4810) ISP BCI Telecom (Saint Petersburg, Russian Federation) [1054.56 km]
6735) Smart Telecom (Saint Petersburg, Russian Federation) [1054.56 km]
6931) JSC “RU-CENTER” (Saint Petersburg, Russian Federation) [1054.56 km]

Для тестирования до выбранного сервера, нужно ввести его ID, которое указано слева в списке для каждого сервера.

$ speedtest-cli --server 935