diff options
author | makefu <github@syntax-fehler.de> | 2013-04-04 10:14:27 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-04-04 10:14:27 +0200 |
commit | 5266540d4c21494adbac3f25f982f2bf32390734 (patch) | |
tree | e0532270da21fbb368c98347c0506ed850d86e58 /util/bin | |
parent | 7fa8fb85b072f612adb322f8a02617e1bd737020 (diff) | |
parent | c57300f04afe66c596b6ea658457aae260ab323e (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'util/bin')
-rwxr-xr-x | util/bin/graphitec | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/util/bin/graphitec b/util/bin/graphitec new file mode 100755 index 00000000..52aa9834 --- /dev/null +++ b/util/bin/graphitec @@ -0,0 +1,5 @@ +#!/bin/sh +H=${GRAPHITE_HOST:-localhost} +P=${GRAPHITE_PORT:-2003} +curr=$(date '+%s') +printf "%s %s %s\n" $1 $2 $curr | nc -q0 $H $P |