From: bert hubert Date: Sat, 31 Oct 2015 18:26:05 +0000 (+0100) Subject: teach recursor about real-memory-usage metric X-Git-Tag: dnsdist-1.0.0-alpha1~264 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a812f5a42a6fc652aa438443e0ba48f23fc1987;p=pdns teach recursor about real-memory-usage metric --- 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);