summaryrefslogtreecommitdiffstats
path: root/util/bin/statsc
blob: ff86ccb81973183fb46d30bcfaf664cfb985a7d2 (plain)
1
2
3
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