1MEMCACHED_ANALYZE(3)             libmemcached             MEMCACHED_ANALYZE(3)
2
3
4

NAME

6       memcached_analyze - libmemcached Documentation
7
8       Analyze server information
9

SYNOPSIS

11       #include <libmemcached/memcached.h>
12
13       memcached_analysis_st
14
15       memcached_analysis_st   *   memcached_analyze(memcached_st *ptr,   mem‐
16       cached_stat_st *stat, memcached_return_t *error)
17
18       Compile and link with -lmemcached
19

DESCRIPTION

21       libmemcached has the ability to query a memcached server (or collection
22       of  servers)  for  their  current state. Queries to find state return a
23       memcached_analysis_st structure. You are responsible for  freeing  this
24       structure.
25
26       memcached_analyze()  analyzes  useful information based on the provided
27       servers and sets the result to the memcached_analysis_st structure. The
28       return value must be freed by the calling application.
29
30       A command line tool, memstat with the option memstat --analyze, is pro‐
31       vided so that you do not have to  write  an  application  to  use  this
32       method.
33

RETURN

35       A  pointer  to the allocated memcached_analysis_st structure on success
36       and a NULL pointer on failure. You may  inspect  the  error  detail  by
37       checking the memcached_return_t value.
38
39       Any  method  returning  a memcached_analysis_st expects you to free the
40       memory allocated for it.
41

HOME

43       To find out more information please check: http://libmemcached.org/
44

SEE ALSO

46       memcached(1) libmemcached(3) memcached_strerror(3)
47

AUTHOR

49       Brian Aker
50
52       2011-2013, Brian Aker DataDifferential, http://datadifferential.com/
53
54
55
56
571.0.16                         January 31, 2013           MEMCACHED_ANALYZE(3)
Impressum