Skip to content

Instantly share code, notes, and snippets.

@sujaybhowmick
Last active December 27, 2015 13:19
Show Gist options
  • Select an option

  • Save sujaybhowmick/7332002 to your computer and use it in GitHub Desktop.

Select an option

Save sujaybhowmick/7332002 to your computer and use it in GitHub Desktop.
DevOps
Quick way to check Service status
----------------------------------------------------------------------------------
prompt$ echo ruok | nc <hostname> <port>
should return to prompt successfully. If the service is not up it will return connection refused.
*** Read more on nc a.k.a. ncat utility ***
ncat - Concatenate and redirect sockets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment