Skip to content

dylhost/host-ping-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Credits for original template code https://github.com/johnwmintz/pinglist

How to run

curl -s https://raw.githubusercontent.com/dylhost/host-ping-test/refs/heads/main/pinglist.sh  | bash -s

Flags

curl -s https://raw.githubusercontent.com/dylhost/host-ping-test/refs/heads/main/pinglist.sh  | bash -s -- -flags
Flag Description
-c Specify country to test
-s Specify sort flag (options below)

Countries Flags:

ISO 3166-1 alpha-3 format

Sort flags:

Default: Sort by ping (desending)

  1. Sort by ping (assending)
  2. Sort by IP
  3. Sort by host name
  4. Sort by City
  5. Sort by Country code

Examples

Test all SGP hosts

curl -s https://raw.githubusercontent.com/dylhost/host-ping-test/refs/heads/main/pinglist.sh  | bash -s -- -c SGP

Test Hosthatch Hosts

curl -s https://raw.githubusercontent.com/dylhost/host-ping-test/refs/heads/main/pinglist.sh | bash -s -- -c HostHatch

Sort by country code

curl -s https://raw.githubusercontent.com/dylhost/host-ping-test/refs/heads/main/pinglist.sh | bash -s -- -s 5

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages