Plugin TraficDescriptionThe Trafic plugin is a subsystem for monitoring rtorrent traffic totals. It tracks both system wide and per-tracker totals. The plugin can display totals in three formats, hourly, daily, and mouthly. Statistics can be cleaned out at any time by clicking the "Clear" button on the interface (see screenshot). Requirements
How does it workWhen rutorrent is loaded for the first time (with the trafic plugin) it sends a command to the rTorrent scheduler, which begins to provide the application with information about it's current traffic statistics. (Once again, it's important to understand that traffic statistics do not begin registering until he first load of the plugin. If rtorrent is running, but rutorrent hasn't been loaded, the Trafic Plugin is not keeping track) To avoid this issue, we can use the initplugins.php method to load all plugins at rtorrent start (see How to start plugins with rtorrent ) Some non-obvious points
Additional plug-in configurationYou can adjust the update interval (in minutes) by editing the config file. The config file is plugins/trafic/conf.php. Look for $updateInterval and change it accordingly. | |

