New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Bulk Host Ping Test
Coded a bulk host / provider ping test.
Utilise to either benchmark your servers peering or to determine the lowest ping server for your ISP
Simply clone, chmod the script, and run. At the end it will print the min/max/avg/total and the best and worst providers for your location.
https://github.com/dylhost/host-ping-test
I sorted my results using https://miniwebtool.com/sort-numbers/ to make it in order of ping time
Feel free to post bulk lists of provider's looking glass test IPs and I'll add them to the list. Use the same format to make things easier.

Comments
Hosts tested
Example result after sorting:
bash <(curl -s https://raw.githubusercontent.com/dylhost/host-ping-test/refs/heads/main/pinglist.sh) | sort -nrOne liner that auto sorts results by ping time (lowest at the bottom)
Added looking.house database, now over 700 test IPs!
Note if you use the recommended command with sort, it does ALL tests first, sorts, then outputs. This may take 1-2 minutes with no output. I'll work on adding a loading bar later on.
List of tested IPs to long to post, see here https://github.com/dylhost/host-ping-test/blob/main/list.txt
Added a progress bar because the list is quite lengthy now (750 IPs!), takes ~2 minutes to run.
I'm slowly adding country lists and will later add option(s) to select which list to use so the entire list doesn't need to be run if you're only after a select region.
If progress gets stuck, it means a host is down or isn't replying - it'll be stuck for ~3 seconds until the ping times out.
Updated to allow for selecting a specific country to test so you don't need to ping 750 IPs.
Code in the README section, with examples.
https://github.com/dylhost/host-ping-test/
Added sorting options + documentation
P.s if any provider wants to be added please provide IPs in the below format:
TestIP, Hostname (Facility in brackets if wish to specify), City, CountryCode (ISO_3166-1_alpha-3 format)
Example:
127.0.0.1, AwesomeHost (My House), Melbourne, AUS
I have done such a few years ago.
https://github.com/Ne00n/Multi-Ping
Yours looks way slimmer though, maybe worth looking into fping, which has been build for that purpose.
Most interesting IP's are usually not on any lists sadly.
The UK and Ukraine are mixed up in your list.
I'll work on fixing this, I ran a script to add the country codes, have the original list and will do it semi-manually next time
Edit: I can see where I went wrong... I changed 'UK' to 'GBR' because some already had 'UK', not noticing this changed 'UKR to 'GBRR' which I then "fixed". Facepalm.
My main aim was to avoid Py so it can be ran by anyone similarly to YABS in one command
The only requirement is BC which is included in most distros out of the box
Anyone know of any bulk IP lists I can add?
Also how yabs does speedtests? Might add 1 speedtest for each region (10MB or something)
Added multithreading, now completes much quicker instead of waiting for responses to each ping.