Skip to main content

Check the status of the service by checking whether the IP exists whether the PROCESS exists or whether the LISTENING PORT exists

Project description

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.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.

Project details


Download files

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

Source Distribution

checkalive-0.2.0.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file checkalive-0.2.0.tar.gz.

File metadata

  • Download URL: checkalive-0.2.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for checkalive-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bb5f0d1df575029475c15cae3968e0b0fa2b5b0274e73325db96165f694fa380
MD5 cbbb419a41154f6564ddbf718b5d3f3d
BLAKE2b-256 fb77a9723b28116f4ef78a4f67a13391c3b8bc8995f44ed3ab38402b6b2bc4fb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page