pushed the following commits:\
[m6w6/libmemcached] / bin / memcat.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>memcat &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="memcp" href="memcp.html" />
40 <link rel="prev" title="memexist" href="memexist.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 current"><a class="reference internal" href="index.html#data-manipulation">Data Manipulation</a><ul class="current">
108 <li class="toctree-l3"><a class="reference internal" href="memexist.html">memexist — Check for the existence of a key</a></li>
109 <li class="toctree-l3 current"><a class="current reference internal" href="#">memcat — &quot;cat&quot; data from a server</a><ul>
110 <li class="toctree-l4"><a class="reference internal" href="#synopsis">SYNOPSIS</a></li>
111 <li class="toctree-l4"><a class="reference internal" href="#description">DESCRIPTION</a></li>
112 <li class="toctree-l4"><a class="reference internal" href="#options">OPTIONS</a></li>
113 <li class="toctree-l4"><a class="reference internal" href="#environment">ENVIRONMENT</a></li>
114 <li class="toctree-l4"><a class="reference internal" href="#see-also">SEE ALSO</a></li>
115 </ul>
116 </li>
117 <li class="toctree-l3"><a class="reference internal" href="memcp.html">memcp — &quot;cp&quot; files to a server</a></li>
118 <li class="toctree-l3"><a class="reference internal" href="memtouch.html">memtouch — &quot;touch&quot; a key</a></li>
119 <li class="toctree-l3"><a class="reference internal" href="memrm.html">memrm – &quot;rm&quot; a key</a></li>
120 </ul>
121 </li>
122 <li class="toctree-l2"><a class="reference internal" href="index.html#tests-and-analysis">Tests and Analysis</a></li>
123 <li class="toctree-l2"><a class="reference internal" href="index.html#server-administration">Server Administration</a></li>
124 </ul>
125 </li>
126 </ul>
127 <p class="caption"><span class="caption-text">Copyright</span></p>
128 <ul>
129 <li class="toctree-l1"><a class="reference internal" href="../copyright.html">Copyright</a></li>
130 </ul>
131
132
133
134 </div>
135 </div>
136 </nav>
137
138 <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
139
140
141 <nav class="wy-nav-top" aria-label="top navigation">
142
143 <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
144 <a href="../index.html">libmemcached</a>
145
146 </nav>
147
148
149 <div class="wy-nav-content">
150
151 <div class="rst-content">
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169 <div role="navigation" aria-label="breadcrumbs navigation">
170
171 <ul class="wy-breadcrumbs">
172
173 <li><a href="../index.html">Docs</a> &raquo;</li>
174
175 <li><a href="index.html">Client Applications</a> &raquo;</li>
176
177 <li>memcat</li>
178
179
180 <li class="wy-breadcrumbs-aside">
181
182
183
184 </li>
185
186 </ul>
187
188
189 <hr/>
190 </div>
191 <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
192 <div itemprop="articleBody">
193
194 <div class="section" id="memcat">
195 <h1>memcat<a class="headerlink" href="#memcat" title="Permalink to this headline"></a></h1>
196 <div class="section" id="synopsis">
197 <h2>SYNOPSIS<a class="headerlink" href="#synopsis" title="Permalink to this headline"></a></h2>
198 <p>memcat [options] key [key...]</p>
199 <p>Read and output the value of one key or the values of a set of keys.</p>
200 </div>
201 <div class="section" id="description">
202 <h2>DESCRIPTION<a class="headerlink" href="#description" title="Permalink to this headline"></a></h2>
203 <p><strong class="program">memcat</strong> reads and outputs the value of a single or a set of keys
204 stored in a <em class="manpage"><a class="manpage reference external" href="https://linux.die.net/man/1/memcached">memcached(1)</a></em> server.</p>
205 <p>If any key is not found an error is returned.</p>
206 <p>It is similar to the standard UNIX <em class="manpage"><a class="manpage reference external" href="https://linux.die.net/man/1/cat">cat(1)</a></em> utility.</p>
207 </div>
208 <div class="section" id="options">
209 <h2>OPTIONS<a class="headerlink" href="#options" title="Permalink to this headline"></a></h2>
210 <dl class="option">
211 <dt id="cmdoption-memcat-help">
212 <code class="descname">--help</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-memcat-help" title="Permalink to this definition"></a></dt>
213 <dd><p>Display help.</p>
214 </dd></dl>
215
216 <dl class="option">
217 <dt id="cmdoption-memcat-version">
218 <code class="descname">--version</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-memcat-version" title="Permalink to this definition"></a></dt>
219 <dd><p>Display version.</p>
220 </dd></dl>
221
222 <dl class="option">
223 <dt id="cmdoption-memcat-quiet">
224 <code class="descname">--quiet</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-memcat-quiet" title="Permalink to this definition"></a></dt>
225 <dd><p>Operate quietly.</p>
226 </dd></dl>
227
228 <dl class="option">
229 <dt id="cmdoption-memcat-verbose">
230 <code class="descname">--verbose</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-memcat-verbose" title="Permalink to this definition"></a></dt>
231 <dd><p>Operate more verbosely.</p>
232 </dd></dl>
233
234 <dl class="option">
235 <dt id="cmdoption-memcat-debug">
236 <code class="descname">--debug</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-memcat-debug" title="Permalink to this definition"></a></dt>
237 <dd><p>See <a class="reference internal" href="#cmdoption-memcat-verbose"><code class="xref std std-option docutils literal notranslate"><span class="pre">--verbose</span></code></a>.</p>
238 </dd></dl>
239
240 <dl class="option">
241 <dt id="cmdoption-memcat-servers">
242 <code class="descname">--servers</code><code class="descclassname"> &lt;list of servers&gt;</code><a class="headerlink" href="#cmdoption-memcat-servers" title="Permalink to this definition"></a></dt>
243 <dd><p>Specify the list of servers as <em>hostname[:port][,hostname[:port]...]</em>.</p>
244 </dd></dl>
245
246 <dl class="option">
247 <dt id="cmdoption-memcat-binary">
248 <code class="descname">--binary</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-memcat-binary" title="Permalink to this definition"></a></dt>
249 <dd><p>Enable binary protocol.</p>
250 </dd></dl>
251
252 <dl class="option">
253 <dt id="cmdoption-memcat-hash">
254 <code class="descname">--hash</code><code class="descclassname"> &lt;algorithm&gt;</code><a class="headerlink" href="#cmdoption-memcat-hash" title="Permalink to this definition"></a></dt>
255 <dd><p>Use <em>algorithm</em> as key hash algo.
256 See <a class="reference internal" href="../libmemcached/memcached_behavior.html#_CPPv4N20memcached_behavior_t23MEMCACHED_BEHAVIOR_HASHE" title="memcached_behavior_t::MEMCACHED_BEHAVIOR_HASH"><code class="xref cpp cpp-enumerator docutils literal notranslate"><span class="pre">memcached_behavior_t::MEMCACHED_BEHAVIOR_HASH</span></code></a>.</p>
257 </dd></dl>
258
259 <dl class="option">
260 <dt id="cmdoption-memcat-flag">
261 <code class="descname">--flag</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-memcat-flag" title="Permalink to this definition"></a></dt>
262 <dd><p>Display stored flags.</p>
263 </dd></dl>
264
265 </div>
266 <div class="section" id="environment">
267 <h2>ENVIRONMENT<a class="headerlink" href="#environment" title="Permalink to this headline"></a></h2>
268 <dl class="envvar">
269 <dt id="envvar-MEMCACHED_SERVERS">
270 <code class="descname">MEMCACHED_SERVERS</code><a class="headerlink" href="#envvar-MEMCACHED_SERVERS" title="Permalink to this definition"></a></dt>
271 <dd><p>Specify a list of servers.</p>
272 </dd></dl>
273
274 </div>
275 <div class="section" id="see-also">
276 <h2>SEE ALSO<a class="headerlink" href="#see-also" title="Permalink to this headline"></a></h2>
277 <ul class="simple">
278 <li><a class="reference internal" href="../libmemcached.html"><span class="doc">C/C++ Client Library for memcached</span></a></li>
279 <li><a class="reference internal" href="../libmemcached/configuration.html"><span class="doc">libmemcached Configuration</span></a></li>
280 </ul>
281 </div>
282 </div>
283
284
285 </div>
286
287 </div>
288 <footer>
289
290 <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
291
292 <a href="memcp.html" class="btn btn-neutral float-right" title="memcp" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
293
294
295 <a href="memexist.html" class="btn btn-neutral float-left" title="memexist" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
296
297 </div>
298
299
300 <hr/>
301
302 <div role="contentinfo">
303 <p>
304 &copy; <a href="../copyright.html">Copyright</a>
305
306 </p>
307 </div>
308 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>.
309
310 </footer>
311
312 </div>
313 </div>
314
315 </section>
316
317 </div>
318
319
320
321 <script type="text/javascript">
322 jQuery(function () {
323 SphinxRtdTheme.Navigation.enable(true);
324 });
325 </script>
326
327
328
329
330
331
332 </body>
333 </html>