checkalive
Check the status of the service by checking whether the IP exists whether the PROCESS exists or whether the LISTENING PORT exists.
Install
pip install checkalive
Command line tools installed
- checkalive
- checkip
- checkport
- checkproc
Usage
C:\Code>checkalive --help
Usage: checkalive [OPTIONS] COMMAND [ARGS]...
Check the status of the service by checking whether the IP exists whether
the PROCESS exists or whether the LISTENING PORT exists.
Options:
--help Show this message and exit.
Commands:
checkip Check the IP address exists or not.
checkport Check the listening port exists or not.
checkproc Check process is still running or not.
C:\Code>checkip --help
Usage: checkip [OPTIONS] IP
Check the IP address exists or not.
Options:
-i, --nic TEXT
--help Show this message and exit.
C:\Code>checkport --help
Usage: checkport [OPTIONS] PORT
Check the listening port exists or not.
Options:
-i, --nic TEXT
-p, --proto [tcp|tcp4|udp|udp4|inet|inet4|inet6|tcp6|udp6]
Default to tcp.
--help Show this message and exit.
C:\Code>checkproc --help
Usage: checkproc [OPTIONS]
Check process is still running or not.
Notice: parameter can be one and only one of pid、pidfile、command.
Options:
-i, --pid INTEGER
-f, --pidfile TEXT
-c, --command TEXT
--help Show this message and exit.
Release
v0.2.2 2019/12/13
- Fix setup.py, add ipaddress dependence in python2.
v0.2.1 2019/12/13
- Fix ip parse problem in centos7. In centos7, the ip address may has %eth0 suffix.
v0.2.0 2019/12/13
- Change the language of help information from chinese to english.
- Fix setup keywords.
v0.1.9 2019/06/24
- Add ip check.
- Add proc check.
- Add port check.
Release files for checkalive 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| checkalive-0.2.2.tar.gz | 3.9 kB | Details |
Release files / checkalive-0.2.2.tar.gz
| Download URL | checkalive-0.2.2.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0e974f2a2bc913d080f23e96e9618ac1a30f815cf3f7296108b42e0be61c553
|
|
BLAKE2b-256 checksum How to use checksums |
ce1cb5437ee641ea5495b9520a71e5c5d835fe4d5382ab607026dd28c1e369d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.5
|