Skip to main content

CLI tool for waiting on ports to open

Project description

portwait

CLI Tool for waiting on ports to open.

Usage

usage: portwait [-h] [-t TIMEOUT] [-v] host port

positional arguments:
  host                  Host to connect to
  port                  ... its the port ok?

optional arguments:
  -h, --help            show this help message and exit
  -t TIMEOUT, --timeout TIMEOUT
                        Timeout in seconds
  -v, --verbose         Describe result

Example

Wait for ssh to open up (presumably after a reboot or something):

portwait 10.40.1.100 22

Do a single check and don't wait

portwait 10.40.1.100 22 --timeout 0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for portwait, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size portwait-1.0.2.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page