From af0c10e73748f4d87d75ffaa6b5650a3a234f246 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Sat, 31 Oct 2015 19:25:39 +0100 Subject: [PATCH] teach auth about the real-memory-usage metric --- pdns/common_startup.cc | 1 + 1 file changed, 1 insertion(+) 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); -- 2.40.0