From 5a812f5a42a6fc652aa438443e0ba48f23fc1987 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Sat, 31 Oct 2015 19:26:05 +0100 Subject: [PATCH] teach recursor about real-memory-usage metric --- pdns/rec_channel_rec.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/rec_channel_rec.cc b/pdns/rec_channel_rec.cc index ca922a9bc..1f744ee47 100644 --- a/pdns/rec_channel_rec.cc +++ b/pdns/rec_channel_rec.cc @@ -610,6 +610,7 @@ RecursorControlParser::RecursorControlParser() addGetStat("noedns-outqueries", &g_stats.noEdnsOutQueries); addGetStat("uptime", calculateUptime); + addGetStat("real-memory-usage", boost::bind(getRealMemoryUsage, string())); // addGetStat("query-rate", getQueryRate); addGetStat("user-msec", getUserTimeMsec); -- 2.40.0