diff options
author | Roger Dingledine <arma@torproject.org> | 2004-08-06 08:37:13 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-08-06 08:37:13 +0000 |
commit | f32e34044fa5cbee5164fe6de8474bc38ad66098 (patch) | |
tree | 68a06f488c6bdd7194febc8d8e11bc98c4497e52 /src | |
parent | 1d41c0ee35bf252f9680b30d476fc037da607b2e (diff) | |
download | tor-f32e34044fa5cbee5164fe6de8474bc38ad66098.tar.gz tor-f32e34044fa5cbee5164fe6de8474bc38ad66098.zip |
list total traffic and total uptime in -usr1 stats
svn:r2151
Diffstat (limited to 'src')
-rw-r--r-- | src/or/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index 8f01b4f310..573b20fc92 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -963,7 +963,8 @@ static void dumpstats(int severity) { (stats_n_data_cells_received*RELAY_PAYLOAD_SIZE)) ); if (stats_n_seconds_uptime) - log(severity,"Average bandwidth used: %d bytes/sec", + log(severity,"Average bandwidth used: %d/%d = %d bytes/sec", + stats_n_bytes_read, stats_n_seconds_uptime, (int) (stats_n_bytes_read/stats_n_seconds_uptime)); rep_hist_dump_stats(now,severity); |