From: bert hubert Date: Thu, 26 Nov 2015 14:23:04 +0000 (+0100) Subject: also report fd usage in recursor X-Git-Tag: dnsdist-1.0.0-alpha1~190^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01594bfccf6d5e105c941831baba03cbfeca01d1;p=thirdparty%2Fpdns.git also report fd usage in recursor --- diff --git a/pdns/rec_channel_rec.cc b/pdns/rec_channel_rec.cc index 42e27fcec4..5689605f18 100644 --- a/pdns/rec_channel_rec.cc +++ b/pdns/rec_channel_rec.cc @@ -613,6 +613,7 @@ RecursorControlParser::RecursorControlParser() addGetStat("uptime", calculateUptime); addGetStat("real-memory-usage", boost::bind(getRealMemoryUsage, string())); + addGetStat("fd-usage", boost::bind(getOpenFileDescriptors, string())); // addGetStat("query-rate", getQueryRate); addGetStat("user-msec", getUserTimeMsec);