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, 2 insertions, 2 deletions
diff --git a/util/bin/statsc b/util/bin/statsc
index ce2c70b6..ff86ccb8 100755
--- a/util/bin/statsc
+++ b/util/bin/statsc
@@ -1,4 +1,4 @@
#!/bin/sh
# see https://github.com/etsy/statsd for syntax
-[[ $# -eq 0 ]] && echo "usage: $0 MESSAGE"
-echo "$1" | nc localhost 8126
+[ $# -eq 0 ] && echo "usage: $0 MESSAGE"
+echo "$1" | nc -w 1 -u 127.0.0.1 8125