cloudping

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2023 License: MIT Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

cloudping

This util performs a ping to measure the network latency from your location to the various cloud data centers around the world.

Supported providers
  • Alibaba Cloud
  • Amazon Web Services
  • Baidu Cloud
  • CoreWeave
  • Digital Ocean
  • Gcore Cloud
  • Google Cloud Platform
  • Hetzner Cloud
  • Huawei Cloud
  • IBM Cloud
  • Kingsoft Cloud
  • Linode
  • Microsoft Azure
  • Oracle Cloud
  • OVH Cloud
  • Public DNS servers
  • QingCloud
  • Qiniu Cloud
  • Scaleway
  • Servers.com
  • Tencent Cloud
  • UCloud
  • UpCloud
  • Vultr

Install

Download binaries from release page.

Or install from source:

go install github.com/n0madic/cloudping@latest

Usage

Usage: cloudping [--all] [--alt-ping] [--count NUM] [--hide-errors] [--region NAME] [--location NAME] [--provider NAME] [--timeout DURATION]

Options:
  --all, -a              Scan all providers
  --alt-ping             Use alternative ICMP ping method
  --count NUM, -c NUM    Number of pings to send [default: 4]
  --hide-errors, -e      Hide errors from results
  --region NAME, -r NAME
                         Filter by regions, can be specified multiple times
  --location NAME, -l NAME
                         Filter by location, can be specified multiple times
  --provider NAME, -p NAME
                         Choose provider for ping [default: aws]
  --timeout DURATION, -t DURATION
                         Timeout before ping ends [default: 5s]
  --help, -h             display this help and exit
$ cloudping --provider vultr --region us --region ca
+----+----------+-----------+--------------------+-----------+--------+
|    | PROVIDER | REGION    | LOCATION           |       RTT | STATUS |
+----+----------+-----------+--------------------+-----------+--------+
|  1 | Vultr    | nj-us     | New Jersey, US     | 120.396ms | OK     |
|  2 | Vultr    | tor-ca    | Toronto, CA        | 134.026ms | OK     |
|  3 | Vultr    | ga-us     | Atlanta, US        | 136.809ms | OK     |
|  4 | Vultr    | fl-us     | Miami, US          | 144.553ms | OK     |
|  5 | Vultr    | il-us     | Chicago, US        | 147.464ms | OK     |
|  6 | Vultr    | tx-us     | Dallas, US         | 156.319ms | OK     |
|  7 | Vultr    | lax-ca-us | Los Angeles, US    | 181.803ms | OK     |
|  8 | Vultr    | wa-us     | Seattle, US        | 182.867ms | OK     |
|  9 | Vultr    | sjo-ca-us | Silicon Valley, US | 188.371ms | OK     |
| 10 | Vultr    | hon-hi-us | Honolulu, US       | 238.351ms | OK     |
+----+----------+-----------+--------------------+-----------+--------+

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址