summaryrefslogtreecommitdiffstats
path: root/util/bin/statsc
diff options
context:
space:
mode:
Diffstat (limited to 'util/bin/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..ff86ccb8
--- /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 -w 1 -u 127.0.0.1 8125