From: bert hubert Date: Sat, 31 Oct 2015 18:25:39 +0000 (+0100) Subject: teach auth about the real-memory-usage metric X-Git-Tag: dnsdist-1.0.0-alpha1~265 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af0c10e73748f4d87d75ffaa6b5650a3a234f246;p=pdns teach auth about the real-memory-usage metric --- diff --git a/pdns/common_startup.cc b/pdns/common_startup.cc index 89d45d471..291758752 100644 --- a/pdns/common_startup.cc +++ b/pdns/common_startup.cc @@ -271,6 +271,7 @@ void declareStats(void) S.declare("incoming-notifications", "NOTIFY packets received."); S.declare("uptime", "Uptime of process in seconds", uptimeOfProcess); + S.declare("real-memory-usage", "Actual unique use of memory in bytes (approx)", getRealMemoryUsage); #ifdef __linux__ S.declare("udp-recvbuf-errors", "UDP 'recvbuf' errors", udpErrorStats); S.declare("udp-sndbuf-errors", "UDP 'sndbuf' errors", udpErrorStats);