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]-->
9 <meta name=
"viewport" content=
"width=device-width, initial-scale=1.0">
11 <title>memexist - Check for the existence of a key
— libmemcached
1.0.99 documentation
</title>
20 <script type=
"text/javascript" src=
"../_static/js/modernizr.min.js"></script>
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>
29 <script type=
"text/javascript" src=
"../_static/js/theme.js"></script>
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=
"memparse - Parse an option string" href=
"memparse.html" />
40 <link rel=
"prev" title=
"memstat - Gather statistics from a server" href=
"memstat.html" />
43 <body class=
"wy-body-for-nav">
46 <div class=
"wy-grid-for-nav">
48 <nav data-toggle=
"wy-nav-shift" class=
"wy-nav-side">
49 <div class=
"wy-side-scroll">
50 <div class=
"wy-side-nav-search" >
54 <a href=
"../index.html" class=
"icon icon-home"> libmemcached
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" />
81 <div class=
"wy-menu wy-menu-vertical" data-spy=
"affix" role=
"navigation" aria-label=
"main navigation">
88 <p class=
"caption"><span class=
"caption-text">libmemcached
</span></p>
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>
94 <p class=
"caption"><span class=
"caption-text">libmemcachedutil
</span></p>
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>
99 <p class=
"caption"><span class=
"caption-text">libhashkit
</span></p>
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>
104 <p class=
"caption"><span class=
"caption-text">Client Applications
</span></p>
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=
"memcapable.html">memcapable - Checking a Memcached server capabilities and compatibility
</a></li>
108 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memcat.html">memcat - “cat” data from a server
</a></li>
109 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memcp.html">memcp - Copy data to a server
</a></li>
110 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memdump.html">memdump - Dumping your server
</a></li>
111 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memerror.html">memerror - translate an error code to a string
</a></li>
112 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memflush.html">memflush - flush all data from a server
</a></li>
113 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memrm.html">memrm - Remove data from a server
</a></li>
114 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memslap.html">memslap - Load testing and benchmarking a server
</a></li>
115 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memaslap.html">memaslap - Load testing and benchmarking a server
</a></li>
116 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memstat.html">memstat - Gather statistics from a server
</a></li>
117 <li class=
"toctree-l2 current"><a class=
"current reference internal" href=
"#">memexist - Check for the existence of a key
</a><ul>
118 <li class=
"toctree-l3"><a class=
"reference internal" href=
"#synopsis">SYNOPSIS
</a></li>
119 <li class=
"toctree-l3"><a class=
"reference internal" href=
"#description">DESCRIPTION
</a></li>
120 <li class=
"toctree-l3"><a class=
"reference internal" href=
"#options">OPTIONS
</a></li>
121 <li class=
"toctree-l3"><a class=
"reference internal" href=
"#see-also">SEE ALSO
</a></li>
124 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memparse.html">memparse - Parse an option string
</a></li>
125 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memping.html">memping - Test to see if a server is available.
</a></li>
126 <li class=
"toctree-l2"><a class=
"reference internal" href=
"memtouch.html">memtouch - Touches a key.
</a></li>
130 <p class=
"caption"><span class=
"caption-text">Copyright
</span></p>
132 <li class=
"toctree-l1"><a class=
"reference internal" href=
"../copyright.html">Copyright
</a></li>
141 <section data-toggle=
"wy-nav-shift" class=
"wy-nav-content-wrap">
144 <nav class=
"wy-nav-top" aria-label=
"top navigation">
146 <i data-toggle=
"wy-nav-top" class=
"fa fa-bars"></i>
147 <a href=
"../index.html">libmemcached
</a>
152 <div class=
"wy-nav-content">
154 <div class=
"rst-content">
172 <div role=
"navigation" aria-label=
"breadcrumbs navigation">
174 <ul class=
"wy-breadcrumbs">
176 <li><a href=
"../index.html">Docs
</a> »</li>
178 <li><a href=
"index.html">Client Applications
</a> »</li>
180 <li>memexist - Check for the existence of a key
</li>
183 <li class=
"wy-breadcrumbs-aside">
194 <div role=
"main" class=
"document" itemscope=
"itemscope" itemtype=
"http://schema.org/Article">
195 <div itemprop=
"articleBody">
197 <div class=
"section" id=
"memexist-check-for-the-existence-of-a-key">
198 <h1>memexist - Check for the existence of a key
<a class=
"headerlink" href=
"#memexist-check-for-the-existence-of-a-key" title=
"Permalink to this headline">¶
</a></h1>
199 <div class=
"section" id=
"synopsis">
200 <h2>SYNOPSIS
<a class=
"headerlink" href=
"#synopsis" title=
"Permalink to this headline">¶
</a></h2>
201 <p>memexist [options] [key]
</p>
203 <div class=
"section" id=
"description">
204 <h2>DESCRIPTION
<a class=
"headerlink" href=
"#description" title=
"Permalink to this headline">¶
</a></h2>
205 <p><strong class=
"program">memexist
</strong> checks for the existance of a key within a cluster.
</p>
207 <div class=
"section" id=
"options">
208 <h2>OPTIONS
<a class=
"headerlink" href=
"#options" title=
"Permalink to this headline">¶
</a></h2>
209 <p>You can specify servers via the option:
</p>
211 <dt id=
"cmdoption-memexist-servers">
212 <code class=
"sig-name descname">--servers
</code><code class=
"sig-prename descclassname"></code><a class=
"headerlink" href=
"#cmdoption-memexist-servers" title=
"Permalink to this definition">¶
</a></dt>
215 <p>or via the environment variable:
</p>
217 <dt id=
"envvar-`MEMCACHED_SERVERS`">
218 <code class=
"sig-name descname">`MEMCACHED_SERVERS`
</code><a class=
"headerlink" href=
"#envvar-`MEMCACHED_SERVERS`" title=
"Permalink to this definition">¶
</a></dt>
221 <p>If you do not specify either these, the final value in the command line list is the name of a server(s).
</p>
222 <p>For a full list of operations run the tool with the option:
</p>
224 <dt id=
"cmdoption-memexist-help">
225 <code class=
"sig-name descname">--help
</code><code class=
"sig-prename descclassname"></code><a class=
"headerlink" href=
"#cmdoption-memexist-help" title=
"Permalink to this definition">¶
</a></dt>
229 <div class=
"section" id=
"see-also">
230 <h2>SEE ALSO
<a class=
"headerlink" href=
"#see-also" title=
"Permalink to this headline">¶
</a></h2>
240 <div class=
"rst-footer-buttons" role=
"navigation" aria-label=
"footer navigation">
242 <a href=
"memparse.html" class=
"btn btn-neutral float-right" title=
"memparse - Parse an option string" accesskey=
"n" rel=
"next">Next
<span class=
"fa fa-arrow-circle-right"></span></a>
245 <a href=
"memstat.html" class=
"btn btn-neutral float-left" title=
"memstat - Gather statistics from a server" accesskey=
"p" rel=
"prev"><span class=
"fa fa-arrow-circle-left"></span> Previous
</a>
252 <div role=
"contentinfo">
254 © <a href=
"../copyright.html">Copyright
</a>
258 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>.
271 <script type=
"text/javascript">
273 SphinxRtdTheme.Navigation.enable(true);