1PMEMCTO_STATS_PRINT(3)     PMDK Programmer's Manual     PMEMCTO_STATS_PRINT(3)
2
3
4

NAME

6       pmemcto_stats_print -- write human-readable memory pool statistics
7

SYNOPSIS

9              #include <libpmemcto.h>
10
11              void pmemcto_stats_print(PMEMctopool *pcp, const char *opts);
12

DESCRIPTION

14       The pmemcto_stats_print() function produces messages containing statis‐
15       tics about the given memory pool.  The output is printed using libpmem‐
16       cto(7)  internal  print_func function (see pmemcto_set_funcs(3)).  That
17       means the output typically appears on stderr unless the caller supplies
18       a  replacement  print_func  or  sets  the  environment  variable PMEMC‐
19       TO_LOG_FILE to direct output elsewhere.  The opts string can either  be
20       NULL or it can contain a list of options that change the stats printed.
21       General information that never changes during execution can be  omitted
22       by  specifying  "g" as a character within the opts string.  The charac‐
23       ters "m" and "a" can be specified to omit merged arena  and  per  arena
24       statistics, respectively; "b" and "l" can be specified to omit per size
25       class statistics for bins and large  objects,  respectively.   Unrecog‐
26       nized  characters  are  silently ignored.  Note that thread caching may
27       prevent some statistics from being completely up to date.   See  jemal‐
28       loc(3) for more detail (the description of the available opts above was
29       taken from that man page).
30

SEE ALSO

32       jemalloc(3), libpmemcto(7) and <http://pmem.io>
33
34
35
36PMDK - libpmemcto API version 1.0 2018-03-13            PMEMCTO_STATS_PRINT(3)
Impressum