> I guess arm is using this or something similar to display the bandwidth<br>> usage of Tor.<br><br>Nope, arm just gives a running total of the BW events (ie, if you restart arm the totals will revert to zero). At the moment I'm unaware of a method of getting the total bandwidth besides tallying it (though it's included in a proposal that's currently being batted around on or-dev).<br>
<br>Cheers! -Damian<br><br>On Fri, Mar 5, 2010 at 2:54 PM, Paul Menzel <<a href="mailto:paulepanter@users.sourceforge.net">paulepanter@users.sourceforge.net</a>> wrote:<br>> Am Freitag, den 05.03.2010, 10:17 -0500 schrieb <a href="mailto:andrew@torproject.org">andrew@torproject.org</a>:<br>
>> On Fri, Mar 05, 2010 at 09:32:59AM +0100, <a href="mailto:paulepanter@users.sourceforge.net">paulepanter@users.sourceforge.net</a> wrote 1.4K bytes in 39 lines about:<br>>> : > What did you configure for your bandwidth limits or accountingmax?<br>
>> :<br>>> : I did not configure them and so the defaults are used. arm is displaying<br>>> : »(cap: 5 MB, burst: 10 MB)«.<br>>><br>>> Ok, then Tor will figure out how much bandwidth it can reliably provide.<br>
><br>> On what conditions does that depend?<br>><br>>> If you look at your (datadirectory)/state file, it will show you how<br>>> much bandwidth tor has been providing over time.<br>><br>> I guess arm is using this or something similar to display the bandwidth<br>
> usage of Tor.<br>><br>> Looking at `DataDirectory/state` directly I cannot figure out how to<br>> interpret the values. Maybe I need tot enable bandwidth accounting.<br>><br>> $ man torrc<br>> […]<br>
> DataDirectory/state<br>> A set of persistent key-value mappings. These are documented in<br>> the file. These include:<br>> - The current entry guards and their status.<br>
> - The current bandwidth accounting values (unused so far; see<br>> below).<br>> - When the file was last written<br>> - What version of Tor generated the state file<br>
> - A short history of bandwidth usage, as produced in the router<br>> descriptors.<br>><br>> DataDirectory/bw_accounting<br>> Used to track bandwidth accounting values (when the current<br>
> period starts and ends; how much has been read and written so<br>> far this period). This file is obsolete, and the data is now<br>> stored in the ’state’ file as well. Only used when bandwidth<br>
> accounting is enabled.<br>> […]<br>><br>> Searching the WWW for »tor state bandwidth« did not help either.<br>><br>><br>> Thanks,<br>><br>> Paul<br>><br><br>