2dbb0a62ae
applications in tracking kernel memory statistics. It provides an abstracted interface to uma(9) and malloc(9) statistics, wrapped around the recently added binary stream sysctls for the allocators. Using this interface, it is easy to build monitoring tools, query specific memory types for usage information, etc. Facilities are provided for binding caller-provided data to memory types, incremental updates of memory types, and queries that span multiple allocators. Support for additional allocators is (relatively) easy to add. The API for libmemstat(3) will probably change some over time as consumers are written, and requirements evolve. It is written to avoid encoding ABIs for data structure layout into consuming applications for this reason. MFC after: 1 week |
||
---|---|---|
.. | ||
libmemstat.3 | ||
Makefile | ||
memstat_all.c | ||
memstat_internal.h | ||
memstat_malloc.c | ||
memstat_uma.c | ||
memstat.c | ||
memstat.h |