diff options
author | EUcancER <root@euer.krebsco.de> | 2012-06-02 01:14:05 +0200 |
---|---|---|
committer | EUcancER <root@euer.krebsco.de> | 2012-06-02 01:14:05 +0200 |
commit | d2f737473e3bbcb7592a6745820bccd333128459 (patch) | |
tree | 6c8cfb0f30db5995c0787bbe06f48b6735b65c89 /util/bin/statsc | |
parent | ff93336964b5c59bb2e7ddfb790884593d8276ba (diff) |
//retiolum adv_graphgen: now writing stats to graphite
painload now provides convenient tools to enable graphite stats generation
currently logged are:
- overall build time of graphs
- anon and detailed build times
- current number of users in the darknet
Diffstat (limited to 'util/bin/statsc')
-rwxr-xr-x | util/bin/statsc | 4 |
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 |