Total Traffic via GETINFO
A long while back pipe submitted a patch for fetching the total relayed bandwidth via the control port . This is highly requested information and was part of proposal 173 (getinfo-option-expansion) as: "relay/read-total" -- Total bytes relayed (download). "relay/write-total" -- Total bytes relayed (upload).
If the patch looks fine then I'll tweak it to provide the values as the two options above. Cheers! -Damian