[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-talk] aggregate traffic relayed?
> Bytes sent/received stats as captured in the tor log are not
> persistent across service restarts - every time Tor exits, the it
> starts counting from zero.
>
> What's the best way to keep aggregate Tor bandwidth usage statistics
> for my relay?
The following is a simple script for using TorCtl to print all of the
tor BW events. You could tweak it to sum the events instead and keep
track of it across tor restarts.
https://gitweb.torproject.org/pytorctl.git/blob/HEAD:/example.py
_______________________________________________
tor-talk mailing list
tor-talk@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk