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

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



Am Samstag, den 06.03.2010, 02:36 -0800 schrieb Paul Campbell:
> > From: Marcin Kowalczyk <marcin@xxxxxxxxxxxxxxxxxxxx>
> > 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

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil