From f975f5290e9738229cd0d08d56263fb666e800dc Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 14 Jan 2014 01:11:00 +0100 Subject: adv_graphgen: add usage, this should clear some things up --- retiolum/scripts/adv_graphgen/USAGE.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 retiolum/scripts/adv_graphgen/USAGE.md diff --git a/retiolum/scripts/adv_graphgen/USAGE.md b/retiolum/scripts/adv_graphgen/USAGE.md new file mode 100644 index 00000000..2c2c3833 --- /dev/null +++ b/retiolum/scripts/adv_graphgen/USAGE.md @@ -0,0 +1,27 @@ +# Example usage + +# High Level + + # creates all graphs with predefined paths (see source code of this script) + ./all_the_graphs.sh + + # create anonymized graphs to /tmp + ./anonytize.sh /tmp + + # create full detail graphs to /var/www/graph.retiolum + ./sanitize.sh /var/ww/graph.retiolum + + # return currently availabe supernodes + tinc_stats/Supernodes.py + +# Low Level + + # returns the current tinc graph as json + tinc_stats/Log2JSON.py + + # adds GEOIP information to the json file + tinc_stats/Log2JSON.py | tinc_stats/Geo.py + + # creates a grapviz file from current graph, pipes into a timpfile + tinc_stats/Log2JSON.py | tinc_stats/Graph.py > /tmp/out.graphviz + -- cgit v1.2.3