Skip to content

Instantly share code, notes, and snippets.

@wendelicious
Created September 20, 2014 07:11
Show Gist options
  • Save wendelicious/ed82c995d01a58e6913c to your computer and use it in GitHub Desktop.
Save wendelicious/ed82c995d01a58e6913c to your computer and use it in GitHub Desktop.
Listen for metrics publishing on localhost
#!/bin/sh
while [ 1 ]; do
echo "Listening at `date` on port 2003. <CTRL>-C to quit"
nc -l 2003
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment