comment: <> (SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT) comment: <> (LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,) comment: <> (DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY) comment: <> (THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT) comment: <> ((INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE) comment: <> (OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.)
pmemcto_stats_print - write human-readable memory pool statistics
#include <libpmemcto.h> void pmemcto_stats_print(PMEMctopool *pcp, const char *opts);
The pmemcto_stats_print() function produces messages containing statistics about the given memory pool. The output is printed using libpmemcto(7) internal print_func function (see pmemcto_set_funcs(3)). That means the output typically appears on stderr unless the caller supplies a replacement print_func or sets the environment variable PMEMCTO_LOG_FILE to direct output elsewhere. The opts string can either be NULL or it can contain a list of options that change the stats printed. General information that never changes during execution can be omitted by specifying “g” as a character within the opts string. The characters “m” and “a” can be specified to omit merged arena and per arena statistics, respectively; “b” and “l” can be specified to omit per size class statistics for bins and large objects, respectively. Unrecognized characters are silently ignored. Note that thread caching may prevent some statistics from being completely up to date. See jemalloc(3) for more detail (the description of the available opts above was taken from that man page).
jemalloc(3), libpmemcto(7) and http://pmem.io
The contents of this web site and the associated GitHub repositories are BSD-licensed open source.