[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gathering tor traffic stats



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)

Hi,

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
http://tor.eff.org/svn/trunk/doc/spec/control-spec.txt


Max