Add graphing code for #6443.
[tor-metrics-tasks/delber.git] / task-3574 / README
blob0151eb44e3b58527f9c3dd2498f9c693d6300ea1
1 Extract bridge fingerprints and byte histories from extra-info
2 descriptors:
4   $ grep -hRE "^extra-info|^write-history|^read-history" extra-infos >
5         bridge-bandwidth-histories-raw.txt
7 Convert the output in something we can sort by fingerprint:
9   $ javac OneLinePerDescriptor.java && java OneLinePerDescriptor
11 Sort by fingerprint and filter out duplicates:
13   $ sort bridge-bandwidth-histories-by-fingerprint.txt | uniq >
14         bridge-bandwidth-histories-sorted.txt
16 Aggregate bytes per day:
18   $ javac AggregatePerDay.java && java AggregatePerDay
20 Plot graphs:
22   $ R --slave -f eval.R