tor/src/or
Jacob Appelbaum 75f963e951 Log the number and size of DNS cache entries on SIGUSR1.
Specifically if you send SIGUSR1, it will add two lines to the log file:
May 22 07:41:59.576 [notice] Our DNS cache has 3364 entries.
May 22 07:41:59.576 [notice] Our DNS cache size is approximately 1022656
bytes.

[tweaked a bit by nickm]
2009-05-22 23:33:44 -04:00
..
buffers.c Better debugging output for bug 977 case. 2009-05-12 13:54:21 -04:00
circuitbuild.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
circuitlist.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
circuituse.c Clients do not request version 0 hidserv descs anymore. 2009-05-04 13:46:30 -04:00
command.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
config.c Merge commit 'origin/maint-0.2.1' 2009-05-22 11:56:51 -04:00
config_codedigest.c Include the *_sha1.i files in their own *_codedigest.c files. 2009-05-08 12:35:36 -04:00
connection.c Fix misreporting of stream bandwidths. 2009-05-14 17:52:26 -04:00
connection_edge.c Fix misreporting of stream bandwidths. 2009-05-14 17:52:26 -04:00
connection_or.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
control.c Fix misreporting of stream bandwidths. 2009-05-14 17:52:26 -04:00
cpuworker.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
directory.c Remove unused rendversion parameters. YAGNI. 2009-05-04 13:46:30 -04:00
dirserv.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
dirvote.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
dns.c Log the number and size of DNS cache entries on SIGUSR1. 2009-05-22 23:33:44 -04:00
dnsserv.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
eventdns.c Improved bug-957 fix for 0.2.2. 2009-05-22 14:06:39 -04:00
eventdns.h Port some mostly cosmetic eventdns changes from libevent 2009-02-11 17:22:29 +00:00
eventdns_tor.h Update copyright to 2009. 2009-05-04 11:28:27 -04:00
geoip.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
hibernate.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
main.c Log the number and size of DNS cache entries on SIGUSR1. 2009-05-22 23:33:44 -04:00
Makefile.am Include the *_sha1.i files in their own *_codedigest.c files. 2009-05-08 12:35:36 -04:00
networkstatus.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
ntmain.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
onion.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
or.h Log the number and size of DNS cache entries on SIGUSR1. 2009-05-22 23:33:44 -04:00
policies.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
reasons.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
relay.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
rendclient.c Remove unused rendversion parameters. YAGNI. 2009-05-04 13:46:30 -04:00
rendcommon.c Drop version 0 hidserv support on service side. 2009-05-04 13:46:29 -04:00
rendmid.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
rendservice.c Remove unused rendversion parameters. YAGNI. 2009-05-04 13:46:30 -04:00
rephist.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
router.c Fix a memory leak when v3 directory authorities load their keys 2009-05-17 02:04:59 -04:00
routerlist.c Fix valgrind error when marking a descriptor as never-downloadable. 2009-05-17 02:01:09 -04:00
routerparse.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
test.c Drop version 0 hidserv support on service side. 2009-05-04 13:46:29 -04:00
test_data.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00
tor_main.c Update copyright to 2009. 2009-05-04 11:28:27 -04:00