provided bandwitdth over time in /var/lib/tor/state (was: Full bandwidth is not used.)

Paul Menzel paulepanter at users.sourceforge.net
Sun Mar 7 11:13:17 UTC 2010


Am Samstag, den 06.03.2010, 02:36 -0800 schrieb Paul Campbell:
> > From: Marcin Kowalczyk <marcin at kowalczyk-online.com>
> > Sent: Sat, March 6, 2010 7:56:39 AM
> > 
> > > Looking at `DataDirectory/state` directly I cannot figure out how to
> > > interpret the values. Maybe I need tot enable bandwidth accounting.
> > 
> > The values for BWHistoryReadValues and BWHistoryWriteValues are
> > sent/received bytes in 15 minutes.
> > 
> > So VALUE/1024/15/60 shows you your actual kb/s throughput in one
> > direction.
>
> Maybe this poorly written perl script can help:
> 
> perl -ne 'next if !/BW.*Values/; @s = split; print "$s[0]\n"; foreach
> $value (split(/,/, $s[1])) {printf "%10.1f kB/s\n", $value/15/60/1024}'
> <
> /var/lib/tor/state

Thanks a lot for this.

It shows around the same values as arm on average.


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20100307/ba4fd25b/attachment.pgp>


More information about the tor-talk mailing list