Skip to content

dylhost/host-ping-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

217 Commits
 
 
 
 
 
 
 
 

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 city to test (can't be used with country)
-c Specify country to test
-s Specify sort flag (options below)
-t Ping timeout (default 1s)
-d Use listtest instead of list.txt

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

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