update what the '/memory' admin port command prints
commitc4ef642cf7edc147f71d0cc1df2a6087f7f0b844
authorBin Liu <binliu@fb.com>
Wed, 25 Oct 2017 03:57:15 +0000 (24 20:57 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 25 Oct 2017 04:00:34 +0000 (24 21:00 -0700)
tree31d28433095d587144ad105080104f3ece0a38a0
parent0eca0cb387a74c31fd6ba8f4df5135b60bfb2c1d
update what the '/memory' admin port command prints

Summary:
This prints out a few counters about memory usage, especially in consideration of hugetlb mappings.
Some unused previous entries are deleted from the output.  Also removed some unnecessary `getpid()` calls (read /proc/self/... instead).

Reviewed By: markw65

Differential Revision: D6129867

fbshipit-source-id: 86517ce4886d72d1048aa44d12e3ef651981073f
hphp/runtime/server/admin-request-handler.cpp
hphp/runtime/server/http-server.cpp
hphp/runtime/server/memory-stats.cpp
hphp/runtime/server/memory-stats.h
hphp/runtime/server/proxygen/proxygen-server.cpp
hphp/util/alloc.cpp
hphp/util/alloc.h
hphp/util/boot-stats.cpp
hphp/util/managed-arena.h
hphp/util/process.cpp
hphp/util/process.h