summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEUcancER <root@euer.krebsco.de>2012-06-01 14:53:47 +0200
committerEUcancER <root@euer.krebsco.de>2012-06-01 14:53:47 +0200
commitd72588e1da8c075daf791256593be20c9b67ea25 (patch)
treee3b4611fb911482e0c0d8ce793e13056c6f80e9f
parent6deac5efc1c0207d71006a7941c74f66a0bc0a2f (diff)
//util/bin add statsc
-rwxr-xr-xutil/bin/statsc4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/bin/statsc b/util/bin/statsc
new file mode 100755
index 00000000..ce2c70b6
--- /dev/null
+++ b/util/bin/statsc
@@ -0,0 +1,4 @@
+#!/bin/sh
+# see https://github.com/etsy/statsd for syntax
+[[ $# -eq 0 ]] && echo "usage: $0 MESSAGE"
+echo "$1" | nc localhost 8126