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