On Dec 27, 2007, at 6:49 AM, In Incognito wrote:

Is there any way of getting some sort of aggregate statistics? I use alot of bandwidth on my server and I'd like to avoid using iptables due to overhead.

It'd be easy to do if there was a command to retrieve the current global up/down rate and totals, but there isn't one. (Then you could just log those values to a file with a schedule command in rtorrent.) So instead you have to use xmlrpc in a cronjob for example, add up all the values of all downloads with a script, and log that.

Cyla's script at http://projects.cyla.homeip.net/rtwi/wiki/ rTorrentOMeter might be a start.

Of course that messes up the total stats when you remove a download, but you could cache the values for removed downloads in your script if you like.

--
Josef Drexler
[EMAIL PROTECTED]
_______________________________________________
Libtorrent-devel mailing list
[email protected]
http://rakshasa.no/mailman/listinfo/libtorrent-devel

Reply via email to