gathering tor traffic stats

Udo van den Heuvel udovdh at xs4all.nl
Sun Feb 11 11:10:41 UTC 2007


Max Berger wrote:
> Am Sonntag, den 11.02.2007, 09:38 +0100 schrieb Udo van den Heuvel:
>> Hello,
>>
>> What is the recommended way of gathering tor traffic stats?
>> (total bytes in/out of my node)
> I opened the control port in my torrc with "ControlPort 9051" and get my
> traffic stats with
> 
>  echo -en "authenticate\r\ngetinfo accounting/bytes\r\nquit\r\n" | \
>  nc localhost 9051

For that method to work I have to enable accounting which I do not
really need. Also these counters reset periodically instead of couting
up to the 32-bit max.
I just need traffic counters somewhat like on an ethernet card.
Any ideas?



More information about the tor-talk mailing list