gathering tor traffic stats

Max Berger max at
Sun Feb 11 10:52:11 UTC 2007

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 more info about the control protocol have a look at


More information about the tor-talk mailing list