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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
portwait-1.0.2.tar.gz
(1.8 kB
view hashes)