summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/adv_graphgen/all_the_graphs.sh
diff options
context:
space:
mode:
authorEUcancER <root@euer.krebsco.de>2012-06-02 01:14:05 +0200
committerEUcancER <root@euer.krebsco.de>2012-06-02 01:14:05 +0200
commitd2f737473e3bbcb7592a6745820bccd333128459 (patch)
tree6c8cfb0f30db5995c0787bbe06f48b6735b65c89 /retiolum/scripts/adv_graphgen/all_the_graphs.sh
parentff93336964b5c59bb2e7ddfb790884593d8276ba (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 'retiolum/scripts/adv_graphgen/all_the_graphs.sh')
-rwxr-xr-xretiolum/scripts/adv_graphgen/all_the_graphs.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/retiolum/scripts/adv_graphgen/all_the_graphs.sh b/retiolum/scripts/adv_graphgen/all_the_graphs.sh
index 2a41df38..92c89cc9 100755
--- a/retiolum/scripts/adv_graphgen/all_the_graphs.sh
+++ b/retiolum/scripts/adv_graphgen/all_the_graphs.sh
@@ -2,6 +2,7 @@
echo "`date` begin all graphs" >> /tmp/build_graph
cd $(dirname $(readlink -f $0))
PATH=$PATH:../../../util/bin/
+export LOG_FILE=/var/log/retiolum.log
begin=`timer`
(./anonytize.sh /srv/http/pub/graphs/retiolum/ && echo "`date` anonytize done" >> /tmp/build_graph)&
(./sanitize.sh /srv/http/priv/graphs/retiolum/ && echo "`date` sanitize done" >> /tmp/build_graph)&
@@ -10,4 +11,4 @@ do
echo $job
wait $job || echo "$job failed!"
done
-statsc "graphs.buildtime:$(timer $begin)|ms"
+graphitec "retiolum.graph.buildtime" "$(timer $begin)"