-0.43
+0.43 Wed Jul 28 16:29:47 PDT 2010
+ * Added --args to memstat so that a greater range of values can be returned.
* Prelimanary support for Windows.
* memcached_stat_execute() merged.
STATS_PAGES= \
memcached_stat.pop \
- memcached_stat_get_keys.pop .pop\
+ memcached_stat_execute.pop\
+ memcached_stat_get_keys.pop\
memcached_stat_get_value.pop \
memcached_stat_servername.pop
BUILT_SOURCES += ${STATS_PAGES}
memcached_set_memory_allocators.html \
memcached_set.html \
memcached_set_user_data.html \
+ memcached_stat_execute.html \
memcached_stat_get_keys.html \
memcached_stat_get_value.html \
memcached_stat.html \
memcached_set_memory_allocators.3 \
memcached_set_user_data.3 \
memcached_stat.3 \
+ memcached_stat_execute.3 \
memcached_stat_get_keys.3 \
memcached_stat_get_value.3 \
memcached_stat_servername.3 \
memcached_stat_st *stat,
memcached_return_t *error);
+ memcached_return_t
+ memcached_stat_execute (memcached_st *memc,
+ const char *args,
+ memcached_stat_fn func,
+ void *context);
+
=head1 DESCRIPTION
libmemcached(3) has the ability to query a memcached server (or collection
While it is possible to access the structure directly it is not advisable.
<memcached_stat_get_value() has been provided to query the structure.
+memcached_stat_execute() uses the servers found in C<memcached_stat_st> and
+executes a "stat" command on each server. args is an optional argument that
+can be passed in to modify the behavior of "stats". You will need to supply
+a callback function that will be supplied each pair of values returned by
+the memcached server.
+
memcached_stat() fetches an array of C<memcached_stat_st> structures containing
the state of all available memcached servers. The return value must be freed
by the calling application. If called with the C<MEMCACHED_BEHAVIOR_USE_UDP>
It displays all data to stdout.
You can specify servers via the B<--servers> option or via the
-environment variable C<MEMCACHED_SERVERS>.
+environment variable C<MEMCACHED_SERVERS>. B<--args> can be used
+to specify the "argument" sent to the stats command (ie slab, size, items,
+etc..).
For a full list of operations run the tool with the B<--help> option.
%{_mandir}/man3/memcached_set_sasl_callbacks.3.gz
%{_mandir}/man3/memcached_set_user_data.3.gz
%{_mandir}/man3/memcached_stat.3.gz
+%{_mandir}/man3/memcached_stat_execute.3.gz
%{_mandir}/man3/memcached_stat_get_keys.3.gz
%{_mandir}/man3/memcached_stat_get_value.3.gz
%{_mandir}/man3/memcached_stat_servername.3.gz