1 .TH "MEMCACHED_ANALYZE" "3" "January 26, 2012" "1.0.3" "libmemcached"
3 memcached_analyze \- libmemcached Documentation
5 .nr rst2man-indent-level 0
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
17 .\" .rstReportMargin pre:
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
31 .\" Man page generated from reStructeredText.
34 Analyze server information
37 #include <libmemcached/memcached.h>
40 .B memcached_analysis_st * memcached_analyze (memcached_st *ptr, memcached_stat_st *stat, memcached_return_t *error);
43 Compile and link with \-lmemcached
46 \fBlibmemcached\fP has the ability to query a memcached server (or
47 collection of servers) for their current state. Queries to find state return a
48 \fBmemcached_analysis_st\fP structure. You are responsible for freeing this structure.
50 \fBmemcached_analyze()\fP analyzes useful information based on the
51 provided servers and sets the result to the \fBmemcached_analysis_st\fP
52 structure. The return value must be freed by the calling application.
54 A command line tool, \fBmemstat()\fP with the option \fI\-\-analyze\fP,
55 is provided so that you do not have to write an application to use this method.
58 A pointer to the allocated \fBmemcached_analysis_st\fP structure on
59 success and a NULL pointer on failure. You may inspect the error detail by
60 checking the \fBmemcached_return_t\fP value.
62 Any method returning a \fBmemcached_analysis_st\fP expects you to free the
63 memory allocated for it.
66 To find out more information please check:
67 \fI\%http://libmemcached.org/\fP
70 \fImemcached(1)\fP \fIlibmemcached(3)\fP \fImemcached_strerror(3)\fP
74 2011, Brian Aker DataDifferential, http://datadifferential.com/
75 .\" Generated by docutils manpage writer.