<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>8.3.24. status — groonga v3.0.5 documentation</title> <link rel="stylesheet" href="../../_static/groonga.css" type="text/css" /> <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../../', VERSION: '3.0.5', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="../../_static/jquery.js"></script> <script type="text/javascript" src="../../_static/underscore.js"></script> <script type="text/javascript" src="../../_static/doctools.js"></script> <link rel="shortcut icon" href="../../_static/favicon.ico"/> <link rel="top" title="groonga v3.0.5 documentation" href="../../index.html" /> <link rel="up" title="8.3. Command" href="../command.html" /> <link rel="next" title="8.3.25. suggest" href="suggest.html" /> <link rel="prev" title="8.3.23. shutdown" href="shutdown.html" /> </head> <body> <div class="header"> <h1 class="title"> <a id="top-link" href="../../index.html"> <span class="project">groonga</span> <span class="separator">-</span> <span class="description">An open-source fulltext search engine and column store.</span> </a> </h1> <div class="other-language-links"> <ul> <li><a href="../../../../ja/html/reference/commands/status.html"><img src="../../_static/jp.png" alt="日本語">日本語版はこちら</a></li> </ul> </div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../../genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="suggest.html" title="8.3.25. suggest" accesskey="N">next</a> |</li> <li class="right" > <a href="shutdown.html" title="8.3.23. shutdown" accesskey="P">previous</a> |</li> <li><a href="../../index.html">groonga v3.0.5 documentation</a> »</li> <li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li> <li><a href="../command.html" accesskey="U">8.3. Command</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="status"> <span id="command-status"></span><h1>8.3.24. status<a class="headerlink" href="#status" title="Permalink to this headline">¶</a></h1> <div class="section" id="id1"> <h2>8.3.24.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2> <p>status - groongaプロセスの状態表示</p> </div> <div class="section" id="id2"> <h2>8.3.24.2. 書式<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2> <div class="highlight-none"><div class="highlight"><pre>status </pre></div> </div> </div> <div class="section" id="id3"> <h2>8.3.24.3. 説明<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2> <p>groonga組込コマンドの一つであるstatusについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。</p> <p>statusコマンドは、groongaプロセスの状態を表示します。主にgroongaサーバプロセスに対して使用することを想定しています。</p> </div> <div class="section" id="id4"> <h2>8.3.24.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2> <p>ありません。</p> </div> <div class="section" id="id5"> <h2>8.3.24.5. 返値<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2> <div class="section" id="json"> <h3>8.3.24.5.1. json形式<a class="headerlink" href="#json" title="Permalink to this headline">¶</a></h3> <div class="highlight-none"><div class="highlight"><pre>下記の項目がハッシュ形式で出力されます。 </pre></div> </div> <p><tt class="docutils literal"><span class="pre">alloc_count</span></tt></p> <blockquote> <div>groongaプロセスの内部でアロケートされ、まだ解放されてないメモリブロックの数を示します。groongaをbuildする際に、configureオプションで --enable-exact-alloc-countが指定されていたならば、正確な値を返します。それ以外の場合は不正確な値を返す場合があります。</div></blockquote> <p><tt class="docutils literal"><span class="pre">starttime</span></tt></p> <blockquote> <div>groongaプロセスが起動した時刻のtvsec値を返します。</div></blockquote> <p><tt class="docutils literal"><span class="pre">uptime</span></tt></p> <blockquote> <div>groongaプロセスが起動してから経過した秒数を返します。</div></blockquote> </div> </div> <div class="section" id="id6"> <h2>8.3.24.6. 例<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2> <p>Execution example:</p> <div class="highlight-none"><div class="highlight"><pre>status # [ # [ # 0, # 1337566253.89858, # 0.000355720520019531 # ], # { # "uptime": 6, # "max_command_version": 2, # "n_queries": 39, # "cache_hit_rate": 0.0, # "version": "3.0.5", # "alloc_count": 303, # "command_version": 1, # "starttime": 1372040777, # "default_command_version": 1 # } # ] </pre></div> </div> </div> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h3><a href="../../index.html">Table Of Contents</a></h3> <ul> <li><a class="reference internal" href="#">8.3.24. status</a><ul> <li><a class="reference internal" href="#id1">8.3.24.1. 名前</a></li> <li><a class="reference internal" href="#id2">8.3.24.2. 書式</a></li> <li><a class="reference internal" href="#id3">8.3.24.3. 説明</a></li> <li><a class="reference internal" href="#id4">8.3.24.4. 引数</a></li> <li><a class="reference internal" href="#id5">8.3.24.5. 返値</a><ul> <li><a class="reference internal" href="#json">8.3.24.5.1. json形式</a></li> </ul> </li> <li><a class="reference internal" href="#id6">8.3.24.6. 例</a></li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="shutdown.html" title="previous chapter">8.3.23. shutdown</a></p> <h4>Next topic</h4> <p class="topless"><a href="suggest.html" title="next chapter">8.3.25. suggest</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../../_sources/reference/commands/status.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="../../search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../../genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="suggest.html" title="8.3.25. suggest" >next</a> |</li> <li class="right" > <a href="shutdown.html" title="8.3.23. shutdown" >previous</a> |</li> <li><a href="../../index.html">groonga v3.0.5 documentation</a> »</li> <li><a href="../../reference.html" >8. リファレンスマニュアル</a> »</li> <li><a href="../command.html" >8.3. Command</a> »</li> </ul> </div> <div class="footer"> © Copyright 2009-2013, Brazil, Inc. </div> </body> </html>