From 01594bfccf6d5e105c941831baba03cbfeca01d1 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Thu, 26 Nov 2015 15:23:04 +0100 Subject: [PATCH] also report fd usage in recursor --- 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 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); -- 2.47.2