unofficial git repo -- report bugs/issues/pull requests on https://gitlab.torproject.org/
Go to file
2010-02-04 20:17:32 +01:00
lib Actually, when extending compile.sh, adding the jar file to lib/ makes sense. 2010-01-14 11:16:38 +01:00
R Silence R output. 2010-02-02 16:47:25 +01:00
src Add dizum and gabelmoo to list of authorities to download from. 2010-02-04 19:47:11 +01:00
website Add monthly/quarterly/annual bridge-stats graphs. 2010-02-02 13:36:29 +01:00
.gitignore Add logging, so that we can distinguish INFOs from WARNINGs. 2010-02-02 18:18:14 +01:00
compile.sh Fix compile. 2010-01-14 11:14:25 +01:00
download.sh Add logging, so that we can distinguish INFOs from WARNINGs. 2010-02-02 18:18:14 +01:00
import.sh Add logging, so that we can distinguish INFOs from WARNINGs. 2010-02-02 18:18:14 +01:00
logging.properties Add logging, so that we can distinguish INFOs from WARNINGs. 2010-02-02 18:18:14 +01:00
plot.sh Add new script to plot graphs. 2010-01-19 21:04:43 +01:00
README Be more precise in README file. 2010-02-04 20:17:32 +01:00

ERNIE is the Enhanced R-based tor Network Intelligence Engine
         (why ERNIE? because nobody liked BIRT; sorry for misspelling Tor)

--------------------------------------------------------------------------

Settings for deployed version of ERNIE on http://metrics.torproject.org/:

Clone repository and see if it's working:
$ git clone git://git.torproject.org/git/karsten/ernie
$ cd ~/ernie/
$ ./compile.sh
$ ./import.sh
$ ./download.sh
$ ./plot.sh

Link website directory:
$ ln -s /home/karsten/ernie/website/ /var/www/metrics

Link torperf files:
$ cd ~/ernie/
$ mkdir torperf
$ ln -s /home/torperf/torperf/50kb.data torperf-50kb.data
$ ln -s /home/torperf/torperf/1mb.data torperf-1mb.data
$ ln -s /home/torperf/torperf/5mb.data torperf-5mb.data

Install crontab to automatically plot new graphs:
$ crontab -e
# m h  dom mon dow   command
15 * * * * cd ~/ernie/ && ./download.sh && ./import.sh
30 * */2 * * cd ~/ernie/ && ./plot.sh

# TODO this is temporary! csv files should be generated using R
Link CSV files:
$ cd ~/ernie/website/
$ mkdir csv
$ cd csv/
$ ln -s ../../stats/consensus-stats consensus-stats.csv

--------------------------------------------------------------------------

Importing descriptors

Grepping relevant dirreq-stats from extra-info descriptors (speeds up
  importing significantly!)

$ grep -REl "^extra-info moria1|^extra-info trusted" extra-info/ \
  | xargs -I {} mv {} relevant-extra-infos/
$ mv relevant-extra-infos ~/ernie/archives
$ cd ~/ernie/ && ./import.sh