Skip to content

Instantly share code, notes, and snippets.

@diogomonica
Created February 24, 2011 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diogomonica/842627 to your computer and use it in GitHub Desktop.
Save diogomonica/842627 to your computer and use it in GitHub Desktop.
Command line remote server heartbeat monitor!
while (true); do nc -vv -z -w3 <REMOTEIP> <REMOTEPORT> > /dev/null && echo -e "\x07"; sleep 1; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment