cloudping

command module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: MIT Imports: 13 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
  • Digital Ocean
  • Gcore Cloud
  • Google Cloud Platform
  • Hetzner Cloud
  • Huawei Cloud
  • IBM Cloud
  • Kingsoft Cloud
  • Linode
  • Microsoft Azure
  • Oracle Cloud
  • OVH Cloud
  • QingCloud
  • Qiniu Cloud
  • Scaleway
  • Servers.com
  • Tencent Cloud
  • UCloud
  • 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 COUNT] [--region REGION] [--location LOCATION] [--provider PROVIDER] [--timeout TIMEOUT]

Options:
  --all, -a              Scan all providers
  --alt-ping             Use alternative ICMP ping method
  --count COUNT, -c COUNT
                         Number of pings to send [default: 4]
  --hide-errors, -e      Hide errors from results
  --region REGION, -r REGION
                         Filter by regions, can be specified multiple times
  --location LOCATION, -l LOCATION
                         Filter by location, can be specified multiple times
  --provider PROVIDER, -p PROVIDER
                         Choose provider for ping [default: aws]
  --timeout TIMEOUT, -t TIMEOUT
                         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
⌂ 换网址