c52ca8d95d33f494668f0df61866e7f3ed4a47b7
[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 &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 type="text/javascript" src="../_static/jquery.js"></script>
25 <script type="text/javascript" src="../_static/underscore.js"></script>
26 <script type="text/javascript" src="../_static/doctools.js"></script>
27 <script type="text/javascript" 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="memdump" href="memdump.html" />
40 <link rel="prev" title="memparse" href="memparse.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></li>
92 <li class="toctree-l1"><a class="reference internal" href="../libmemcached/index_misc.html">Misc</a></li>
93 </ul>
94 <p class="caption"><span class="caption-text">libmemcachedutil</span></p>
95 <ul>
96 <li class="toctree-l1"><a class="reference internal" href="../libmemcachedutil.html">Introduction</a></li>
97 <li class="toctree-l1"><a class="reference internal" href="../libmemcachedutil/index.html">libmemcachedutil API</a></li>
98 </ul>
99 <p class="caption"><span class="caption-text">libhashkit</span></p>
100 <ul>
101 <li class="toctree-l1"><a class="reference internal" href="../libhashkit.html">Introduction</a></li>
102 <li class="toctree-l1"><a class="reference internal" href="../libhashkit/index.html">libhashkit API</a></li>
103 </ul>
104 <p class="caption"><span class="caption-text">Client Applications</span></p>
105 <ul class="current">
106 <li class="toctree-l1 current"><a class="reference internal" href="index.html">Client Applications</a><ul class="current">
107 <li class="toctree-l2"><a class="reference internal" href="index.html#data-manipulation">Data Manipulation</a></li>
108 <li class="toctree-l2 current"><a class="reference internal" href="index.html#tests-and-analysis">Tests and Analysis</a><ul class="current">
109 <li class="toctree-l3"><a class="reference internal" href="memaslap.html">memaslap - Load testing and benchmarking a server</a></li>
110 <li class="toctree-l3"><a class="reference internal" href="memslap.html">memslap - Load testing and benchmarking a server</a></li>
111 <li class="toctree-l3"><a class="reference internal" href="memping.html">memping – Ping a server</a></li>
112 <li class="toctree-l3"><a class="reference internal" href="memstat.html">memstat – Gather statistics from a server</a></li>
113 <li class="toctree-l3"><a class="reference internal" href="memerror.html">memerror — Translate libmemcached error codes</a></li>
114 <li class="toctree-l3"><a class="reference internal" href="memparse.html">memparse — Parse and validate an option string</a></li>
115 <li class="toctree-l3 current"><a class="current reference internal" href="#">memcapable — Check a server's capabilities and compatibility</a><ul>
116 <li class="toctree-l4"><a class="reference internal" href="#synopsis">SYNOPSIS</a></li>
117 <li class="toctree-l4"><a class="reference internal" href="#description">DESCRIPTION</a></li>
118 <li class="toctree-l4"><a class="reference internal" href="#options">OPTIONS</a></li>
119 <li class="toctree-l4"><a class="reference internal" href="#see-also">SEE ALSO</a></li>
120 </ul>
121 </li>
122 </ul>
123 </li>
124 <li class="toctree-l2"><a class="reference internal" href="index.html#server-administration">Server Administration</a></li>
125 </ul>
126 </li>
127 </ul>
128 <p class="caption"><span class="caption-text">Copyright</span></p>
129 <ul>
130 <li class="toctree-l1"><a class="reference internal" href="../copyright.html">Copyright</a></li>
131 </ul>
132
133
134
135 </div>
136 </div>
137 </nav>
138
139 <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
140
141
142 <nav class="wy-nav-top" aria-label="top navigation">
143
144 <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
145 <a href="../index.html">libmemcached</a>
146
147 </nav>
148
149
150 <div class="wy-nav-content">
151
152 <div class="rst-content">
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170 <div role="navigation" aria-label="breadcrumbs navigation">
171
172 <ul class="wy-breadcrumbs">
173
174 <li><a href="../index.html">Docs</a> &raquo;</li>
175
176 <li><a href="index.html">Client Applications</a> &raquo;</li>
177
178 <li>memcapable</li>
179
180
181 <li class="wy-breadcrumbs-aside">
182
183
184
185 </li>
186
187 </ul>
188
189
190 <hr/>
191 </div>
192 <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
193 <div itemprop="articleBody">
194
195 <div class="section" id="memcapable">
196 <h1>memcapable<a class="headerlink" href="#memcapable" title="Permalink to this headline"></a></h1>
197 <div class="section" id="synopsis">
198 <h2>SYNOPSIS<a class="headerlink" href="#synopsis" title="Permalink to this headline"></a></h2>
199 <p>memcapable [options]</p>
200 <p>Check a memcached server's capabilities and compatibility.</p>
201 </div>
202 <div class="section" id="description">
203 <h2>DESCRIPTION<a class="headerlink" href="#description" title="Permalink to this headline"></a></h2>
204 <p><strong class="program">memcapable</strong> connects to the specified memcached server and tries to
205 determine its capabilities by running various commands and verifying the response.</p>
206 </div>
207 <div class="section" id="options">
208 <h2>OPTIONS<a class="headerlink" href="#options" title="Permalink to this headline"></a></h2>
209 <dl class="option">
210 <dt id="cmdoption-memcapable-h">
211 <code class="descname">-h</code><code class="descclassname"> hostname</code><a class="headerlink" href="#cmdoption-memcapable-h" title="Permalink to this definition"></a></dt>
212 <dd><p>Specify the hostname to connect to. The default is <em>localhost</em>.</p>
213 </dd></dl>
214
215 <dl class="option">
216 <dt id="cmdoption-memcapable-p">
217 <code class="descname">-p</code><code class="descclassname"> port</code><a class="headerlink" href="#cmdoption-memcapable-p" title="Permalink to this definition"></a></dt>
218 <dd><p>Specify the port number to connect to. The default is <em>11211</em>.</p>
219 </dd></dl>
220
221 <dl class="option">
222 <dt id="cmdoption-memcapable-c">
223 <code class="descname">-c</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-memcapable-c" title="Permalink to this definition"></a></dt>
224 <dd><p><em class="manpage"><a class="manpage reference external" href="https://linux.die.net/man/3/abort">abort(3)</a></em> when detecting an error from the server.</p>
225 </dd></dl>
226
227 <dl class="option">
228 <dt id="cmdoption-memcapable-v">
229 <code class="descname">-v</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-memcapable-v" title="Permalink to this definition"></a></dt>
230 <dd><p>Print out the comparison when it detects an error from the server.</p>
231 </dd></dl>
232
233 <dl class="option">
234 <dt id="cmdoption-memcapable-t">
235 <code class="descname">-t</code><code class="descclassname"> n</code><a class="headerlink" href="#cmdoption-memcapable-t" title="Permalink to this definition"></a></dt>
236 <dd><p>Set the timeout for an IO operation to/from the server to <em>n</em> seconds.</p>
237 </dd></dl>
238
239 </div>
240 <div class="section" id="see-also">
241 <h2>SEE ALSO<a class="headerlink" href="#see-also" title="Permalink to this headline"></a></h2>
242 <ul class="simple">
243 <li><a class="reference internal" href="../libmemcached.html"><span class="doc">C/C++ Client Library for memcached</span></a></li>
244 </ul>
245 </div>
246 </div>
247
248
249 </div>
250
251 </div>
252 <footer>
253
254 <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
255
256 <a href="memdump.html" class="btn btn-neutral float-right" title="memdump" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
257
258
259 <a href="memparse.html" class="btn btn-neutral float-left" title="memparse" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
260
261 </div>
262
263
264 <hr/>
265
266 <div role="contentinfo">
267 <p>
268 &copy; <a href="../copyright.html">Copyright</a>
269
270 </p>
271 </div>
272 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>.
273
274 </footer>
275
276 </div>
277 </div>
278
279 </section>
280
281 </div>
282
283
284
285 <script type="text/javascript">
286 jQuery(function () {
287 SphinxRtdTheme.Navigation.enable(true);
288 });
289 </script>
290
291
292
293
294
295
296 </body>
297 </html>