]> git.ipfire.org Git - thirdparty/pdns.git/commit - pdns/dnsdist-web.cc
Change the way getRealMemUsage() works on Linux (using statm)
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 19 Feb 2019 14:34:52 +0000 (15:34 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 20 Feb 2019 07:17:01 +0000 (08:17 +0100)
commit330dcb5c61d20d26c7d782c9eb7bd5872664e10a
tree29ce9591ed84a1d50a97c9caabc8d329a46b3a63
parentdb58d050cd531da8b9a337450310900b410f19d5
Change the way getRealMemUsage() works on Linux (using statm)

If you want the old (expensive) way, use getSpecialMemUsage()
getSpecialMemUsage() is not included in getAllStatsMap()
Also, implement a getrusage() based getRealMemUsage() for non-Linux systems.
pdns/common_startup.cc
pdns/dnsdist-snmp.cc
pdns/dnsdist-web.cc
pdns/dnsdist.hh
pdns/dnsdistdist/DNSDIST-MIB.txt
pdns/misc.cc
pdns/misc.hh
pdns/rec-snmp.cc
pdns/rec_channel_rec.cc
pdns/recursordist/RECURSOR-MIB.txt
regression-tests.nobackend/counters/command