summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDamian Johnson <atagar@torproject.org>2011-01-06 21:53:48 -0800
committerNick Mathewson <nickm@torproject.org>2011-01-07 12:15:14 -0500
commit6661e16e7ca677cc6063b5aaf25da512d7cda8ad (patch)
tree907f911566d075f7cfa6d93309f06ade64f8945c /doc
parent3bc235d97975dfa17ca6732a930b28124b92eef5 (diff)
downloadtor-6661e16e7ca677cc6063b5aaf25da512d7cda8ad.tar.gz
tor-6661e16e7ca677cc6063b5aaf25da512d7cda8ad.zip
GETINFO options for querying traffic usage
This was originally a patch provided by pipe (http://www.mail-archive.com/or-talk@freehaven.net/msg13085.html) to provide a method for controllers to query the total amount of traffic tor has handled (this is a frequently requested piece of information by relay operators).
Diffstat (limited to 'doc')
-rw-r--r--doc/spec/control-spec.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/spec/control-spec.txt b/doc/spec/control-spec.txt
index 45fa3e7c84..bd327dba7f 100644
--- a/doc/spec/control-spec.txt
+++ b/doc/spec/control-spec.txt
@@ -517,6 +517,10 @@
with a $. This is an implementation error. It would be nice to add
the $ back in if we can do so without breaking compatibility.]
+ "traffic/read" -- Total bytes read (downloaded).
+
+ "traffic/written" -- Total bytes written (uploaded).
+
"accounting/enabled"
"accounting/hibernating"
"accounting/bytes"