TCP Port Ping
lupaxa-tcp-port-ping opens a TCP connection to a host and port, times
the handshake, and repeats so you can see whether the service is
reachable.
Install the package for the library API and the tcp-port-ping
console command:
You can also run python -m lupaxa.tcp_port_ping.
What it does
- Connects to the host and port you name
- Times the TCP handshake in milliseconds
- Repeats after
--delayseconds (default1) - Requires
--serverand--port, with a 1 second socket timeout by default - Runs until Ctrl-C unless you pass
--count - Prints total, pass, fail, and the failure percentage
- Exposes
probe_tcp_portandrun_probesas library functions
Next steps
- Getting started — install and first run
- Usage — CLI flags and the library API
- Reference — arguments, defaults, and exit codes
- Examples — common probe recipes