Adding neccessary prep code for Total BW

This commit is contained in:
Sathyanarayanan Gunasekaran 2011-07-25 17:49:03 -04:00 committed by n8fr8
parent d54e72e094
commit 92fbd45f4e
1 changed files with 9 additions and 2 deletions

View File

@ -1120,7 +1120,14 @@ public class TorService extends Service implements TorServiceConstants, TorConst
sb.append("kb read / ");
sb.append(written/1000);
sb.append("kb written");
/* try {
sb.append("Total upload :"+conn.getInfo("traffic/written"));
sb.append("Total Download "+conn.getInfo("traffic/read"));
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
*/
logNotice(sb.toString());
}