75070a14129d850ca223b3dc26e936856e3bc552
[m6w6/libmemcached] / bin / memcapable.html
1
2
3 <!DOCTYPE html>
4 <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
5 <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
6 <head>
7 <meta charset="utf-8">
8
9 <meta name="viewport" content="width=device-width, initial-scale=1.0">
10
11 <title>memcapable - Checking a Memcached server capabilities and compatibility &mdash; libmemcached 1.0.99 documentation</title>
12
13
14
15
16
17
18
19
20 <script type="text/javascript" src="../_static/js/modernizr.min.js"></script>
21
22
23 <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
24 <script src="../_static/jquery.js"></script>
25 <script src="../_static/underscore.js"></script>
26 <script src="../_static/doctools.js"></script>
27 <script src="../_static/language_data.js"></script>
28
29 <script type="text/javascript" src="../_static/js/theme.js"></script>
30
31
32
33
34 <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
35 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
36 <link rel="index" title="Index" href="../genindex.html" />
37 <link rel="search" title="Search" href="../search.html" />
38 <link rel="copyright" title="Copyright" href="../copyright.html" />
39 <link rel="next" title="memcat - “cat” data from a server" href="memcat.html" />
40 <link rel="prev" title="Client Applications" href="index.html" />
41 </head>
42
43 <body class="wy-body-for-nav">
44
45
46 <div class="wy-grid-for-nav">
47
48 <nav data-toggle="wy-nav-shift" class="wy-nav-side">
49 <div class="wy-side-scroll">
50 <div class="wy-side-nav-search" >
51
52
53
54 <a href="../index.html" class="icon icon-home"> libmemcached
55
56
57
58 </a>
59
60
61
62
63 <div class="version">
64 1.0
65 </div>
66
67
68
69
70 <div role="search">
71 <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
72 <input type="text" name="q" placeholder="Search docs" />
73 <input type="hidden" name="check_keywords" value="yes" />
74 <input type="hidden" name="area" value="default" />
75 </form>
76 </div>
77
78
79 </div>
80
81 <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
82
83
84
85
86
87
88 <p class="caption"><span class="caption-text">libmemcached</span></p>
89 <ul>
90 <li class="toctree-l1"><a class="reference internal" href="../libmemcached.html">Introduction</a></li>
91 <li class="toctree-l1"><a class="reference internal" href="../libmemcached/index.html">libmemcached API</a><ul>
92 <li class="toctree-l2"><a class="reference internal" href="../libmemcached/index_basics.html">Basics</a></li>
93 <li class="toctree-l2"><a class="reference internal" href="../libmemcached/index_data.html">Working with Data</a></li>
94 <li class="toctree-l2"><a class="reference internal" href="../libmemcached/index_errors.html">Messages and Errors</a></li>
95 <li class="toctree-l2"><a class="reference internal" href="../libmemcached/index_advanced.html">Advanced Topics</a></li>
96 <li class="toctree-l2"><a class="reference internal" href="../libmemcached/index_deprecated.html">Deprecated Functionality</a></li>
97 </ul>
98 </li>
99 <li class="toctree-l1"><a class="reference internal" href="../libmemcached/index_misc.html">Misc</a><ul>
100 <li class="toctree-l2"><a class="reference internal" href="../libmemcached/configuration.html">Configuration</a></li>
101 <li class="toctree-l2"><a class="reference internal" href="../libmemcached/constants.html">Constants</a></li>
102 <li class="toctree-l2"><a class="reference internal" href="../libmemcached/examples.html">Examples</a></li>
103 <li class="toctree-l2"><a class="reference internal" href="../libmemcached/versioning.html">Versioning</a></li>
104 </ul>
105 </li>
106 </ul>
107 <p class="caption"><span class="caption-text">libmemcachedutil</span></p>
108 <ul>
109 <li class="toctree-l1"><a class="reference internal" href="../libmemcachedutil.html">Introduction</a></li>
110 <li class="toctree-l1"><a class="reference internal" href="../libmemcachedutil/index.html">libmemcachedutil API</a><ul>
111 <li class="toctree-l2"><a class="reference internal" href="../libmemcachedutil/memcached_pool.html">Working with memcached pools</a></li>
112 </ul>
113 </li>
114 </ul>
115 <p class="caption"><span class="caption-text">libhashkit</span></p>
116 <ul>
117 <li class="toctree-l1"><a class="reference internal" href="../libhashkit.html">Introduction</a></li>
118 <li class="toctree-l1"><a class="reference internal" href="../libhashkit/index.html">libhashkit API</a><ul>
119 <li class="toctree-l2"><a class="reference internal" href="../libhashkit/hashkit_create.html">Creating a hashkit structure</a></li>
120 <li class="toctree-l2"><a class="reference internal" href="../libhashkit/hashkit_function.html">Set Hash Function</a></li>
121 <li class="toctree-l2"><a class="reference internal" href="../libhashkit/hashkit_functions.html">Available Hashes</a></li>
122 <li class="toctree-l2"><a class="reference internal" href="../libhashkit/hashkit_value.html">Generate hash value</a></li>
123 </ul>
124 </li>
125 </ul>
126 <p class="caption"><span class="caption-text">Client Applications</span></p>
127 <ul class="current">
128 <li class="toctree-l1 current"><a class="reference internal" href="index.html">Client Applications</a><ul class="current">
129 <li class="toctree-l2 current"><a class="current reference internal" href="#">memcapable - Checking a Memcached server capabilities and compatibility</a></li>
130 <li class="toctree-l2"><a class="reference internal" href="memcat.html">memcat - “cat” data from a server</a></li>
131 <li class="toctree-l2"><a class="reference internal" href="memcp.html">memcp - Copy data to a server</a></li>
132 <li class="toctree-l2"><a class="reference internal" href="memdump.html">memdump - Dumping your server</a></li>
133 <li class="toctree-l2"><a class="reference internal" href="memerror.html">memerror - translate an error code to a string</a></li>
134 <li class="toctree-l2"><a class="reference internal" href="memflush.html">memflush - flush all data from a server</a></li>
135 <li class="toctree-l2"><a class="reference internal" href="memrm.html">memrm - Remove data from a server</a></li>
136 <li class="toctree-l2"><a class="reference internal" href="memslap.html">memslap - Load testing and benchmarking a server</a></li>
137 <li class="toctree-l2"><a class="reference internal" href="memaslap.html">memaslap - Load testing and benchmarking a server</a></li>
138 <li class="toctree-l2"><a class="reference internal" href="memstat.html">memstat - Gather statistics from a server</a></li>
139 <li class="toctree-l2"><a class="reference internal" href="memexist.html">memexist - Check for the existence of a key</a></li>
140 <li class="toctree-l2"><a class="reference internal" href="memparse.html">memparse - Parse an option string</a></li>
141 <li class="toctree-l2"><a class="reference internal" href="memping.html">memping - Test to see if a server is available.</a></li>
142 <li class="toctree-l2"><a class="reference internal" href="memtouch.html">memtouch - Touches a key.</a></li>
143 </ul>
144 </li>
145 </ul>
146
147
148
149 </div>
150 </div>
151 </nav>
152
153 <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
154
155
156 <nav class="wy-nav-top" aria-label="top navigation">
157
158 <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
159 <a href="../index.html">libmemcached</a>
160
161 </nav>
162
163
164 <div class="wy-nav-content">
165
166 <div class="rst-content">
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184 <div role="navigation" aria-label="breadcrumbs navigation">
185
186 <ul class="wy-breadcrumbs">
187
188 <li><a href="../index.html">Docs</a> &raquo;</li>
189
190 <li><a href="index.html">Client Applications</a> &raquo;</li>
191
192 <li>memcapable - Checking a Memcached server capabilities and compatibility</li>
193
194
195 <li class="wy-breadcrumbs-aside">
196
197
198
199 </li>
200
201 </ul>
202
203
204 <hr/>
205 </div>
206 <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
207 <div itemprop="articleBody">
208
209 <div class="section" id="memcapable-checking-a-memcached-server-capabilities-and-compatibility">
210 <h1>memcapable - Checking a Memcached server capabilities and compatibility<a class="headerlink" href="#memcapable-checking-a-memcached-server-capabilities-and-compatibility" title="Permalink to this headline"></a></h1>
211 <div class="section" id="synopsis">
212 <h2>SYNOPSIS<a class="headerlink" href="#synopsis" title="Permalink to this headline"></a></h2>
213 <p>memcapable [options]</p>
214 </div>
215 <div class="section" id="description">
216 <h2>DESCRIPTION<a class="headerlink" href="#description" title="Permalink to this headline"></a></h2>
217 <p><strong class="program">memcapable</strong> connects to the specified memcached server and tries to
218 determine its capabilities by running the various commands and verifying
219 the response.</p>
220 </div>
221 <div class="section" id="limitations">
222 <h2>LIMITATIONS<a class="headerlink" href="#limitations" title="Permalink to this headline"></a></h2>
223 <p>The current version of memcapable will only verify the binary protocol.</p>
224 </div>
225 <div class="section" id="options">
226 <h2>OPTIONS<a class="headerlink" href="#options" title="Permalink to this headline"></a></h2>
227 <dl class="option">
228 <dt id="cmdoption-memcapable-h">
229 <code class="sig-name descname">-h</code><code class="sig-prename descclassname"> hostname</code><a class="headerlink" href="#cmdoption-memcapable-h" title="Permalink to this definition"></a></dt>
230 <dd></dd></dl>
231
232 <p>Specify the hostname to connect to. The default is <em>localhost</em></p>
233 <dl class="option">
234 <dt id="cmdoption-memcapable-p">
235 <code class="sig-name descname">-p</code><code class="sig-prename descclassname"> port</code><a class="headerlink" href="#cmdoption-memcapable-p" title="Permalink to this definition"></a></dt>
236 <dd></dd></dl>
237
238 <p>Specify the port number to connect to. The default is <em>11211</em></p>
239 <dl class="option">
240 <dt id="cmdoption-memcapable-c">
241 <code class="sig-name descname">-c</code><code class="sig-prename descclassname"></code><a class="headerlink" href="#cmdoption-memcapable-c" title="Permalink to this definition"></a></dt>
242 <dd></dd></dl>
243
244 <p>Generate a coredump when it detects an error from the server.</p>
245 <dl class="option">
246 <dt id="cmdoption-memcapable-v">
247 <code class="sig-name descname">-v</code><code class="sig-prename descclassname"></code><a class="headerlink" href="#cmdoption-memcapable-v" title="Permalink to this definition"></a></dt>
248 <dd></dd></dl>
249
250 <p>Print out the comparison when it detects an error from the server.</p>
251 <dl class="option">
252 <dt id="cmdoption-memcapable-t">
253 <code class="sig-name descname">-t</code><code class="sig-prename descclassname"> n</code><a class="headerlink" href="#cmdoption-memcapable-t" title="Permalink to this definition"></a></dt>
254 <dd></dd></dl>
255
256 <p>Set the timeout from an IO operation to/from the server to <em>n</em> seconds.</p>
257 </div>
258 <div class="section" id="see-also">
259 <h2>SEE ALSO<a class="headerlink" href="#see-also" title="Permalink to this headline"></a></h2>
260 </div>
261 </div>
262
263
264 </div>
265
266 </div>
267 <footer>
268
269 <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
270
271 <a href="memcat.html" class="btn btn-neutral float-right" title="memcat - “cat” data from a server" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
272
273
274 <a href="index.html" class="btn btn-neutral float-left" title="Client Applications" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
275
276 </div>
277
278
279 <hr/>
280
281 <div role="contentinfo">
282 <p>
283 &copy; <a href="../copyright.html">Copyright</a>
284
285 </p>
286 </div>
287 Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
288
289 </footer>
290
291 </div>
292 </div>
293
294 </section>
295
296 </div>
297
298
299
300 <script type="text/javascript">
301 jQuery(function () {
302 SphinxRtdTheme.Navigation.enable(true);
303 });
304 </script>
305
306
307
308
309
310
311 </body>
312 </html>