]> granicus.if.org Git - pdns/commitdiff
add used filedescriptor statistics to auth
authorKees Monshouwer <mind04@monshouwer.org>
Fri, 8 Jul 2016 19:32:46 +0000 (21:32 +0200)
committermind04 <mind04@monshouwer.org>
Sat, 9 Jul 2016 19:11:45 +0000 (21:11 +0200)
pdns/common_startup.cc
regression-tests.nobackend/counters/expected_result

index c783d9a7479f3b1c927608ed53303dd8cb1e7a7c..02aebae4b5d4cd8d4d2b570ba99ecfbfc47a5cb0 100644 (file)
@@ -285,6 +285,7 @@ void declareStats(void)
 
   S.declare("uptime", "Uptime of process in seconds", uptimeOfProcess);
   S.declare("real-memory-usage", "Actual unique use of memory in bytes (approx)", getRealMemoryUsage);
+  S.declare("fd-usage", "Number of open filedescriptors", getOpenFileDescriptors);
 #ifdef __linux__
   S.declare("udp-recvbuf-errors", "UDP 'recvbuf' errors", udpErrorStats);
   S.declare("udp-sndbuf-errors", "UDP 'sndbuf' errors", udpErrorStats);
index fc566f6ff247bd817aca2b72d9433d874d82d3a6..5c07f6d2f2ca0f6682eab92eb322f309f215ebea 100644 (file)
@@ -6,6 +6,7 @@ dnsupdate-answers=0
 dnsupdate-changes=0
 dnsupdate-queries=0
 dnsupdate-refused=0
+fd-usage=18
 incoming-notifications=0
 key-cache-size=0
 latency=0