[tor-talk] Monitoring the Tor client itself, stats

grarpamp grarpamp at gmail.com
Sun Jan 20 21:05:31 UTC 2013


Some of us use the client in various heavy/unique ways as
well as regular browsing and serving. I'd like to get a handle
on how these uses are affecting the client, what limits there
are, when they're hit, etc. To do that I'll want to start plotting
some data. What sort of knobs are there to poll via the
controller or extract from the log? Does the client have a pollable
dump page of "here's a bunch of internal counters, table sizes, state..."?
Much like you might get from snmp, netstat, vmstat, eg...

128/386/514/25600 mbuf clusters in use (current/cache/total/max)
                1314 completely duplicate packets (1710142 bytes)
         Type InUse MemUse HighUse Requests  Size(s)
        sigio     2     1K       -        3  32
     filedesc    86    22K       - 11757726  16,256,512,1024
ITEM                     SIZE     LIMIT      USED      FREE  REQUESTS  FAILURES
UMA Kegs:                 128,        0,      192,       18,      192,        0
UMA Zones:                888,        0,      192,        0,      192,        0
Name    Mtu Network       Address              Ipkts Ierrs Idrop
Ibytes    Opkts Oerrs     Obytes  Coll Time Drop
foo0   1500 <Link#0>      00:00:00:00:00:00  1993589     0     0
2465320254  1375255     0  115093085     0    0     0


More information about the tor-talk mailing list