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

Re: Full bandwidth is not used.



----- Original Message ----

> From: Marcin Kowalczyk <marcin@xxxxxxxxxxxxxxxxxxxx>
> To: or-talk@xxxxxxxxxxxxx
> Sent: Sat, March 6, 2010 7:56:39 AM
> Subject: Re: Full bandwidth is not used.
> 
> > 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.
> 
> 
> HTH

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                                                                            

Cheers
Paul C



      

***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxxx with
unsubscribe or-talk    in the body. http://archives.seul.org/or/talk/