pgping

command module
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 13 Imported by: 0

README

pgping

Quick-n-dirty "ping" utility for testing connectivity to PostgreSQL databases

usage: pgping [<flags>] [<target>]

Flags:
  -h, --help                     Show context-sensitive help (also try --help-long and --help-man).
  -c, --count=-1                 stop after N pings
  -i, --wait=1s                  wait time between sending each ping
  -t, --timeout=5s               timeout for connections to the DB
      --query="SELECT 1"         Test query to execute on database
      --pg-host=PG-HOST
      --pg-port=PG-PORT
      --pg-database=PG-DATABASE
      --pg-user=PG-USER
      --pg-password=PG-PASSWORD
      --pg-app-name="pgping/0.3.0"


Args:
  [<target>]

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