<!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>7.2.19. status — groonga v1.2.7 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: '1.2.7', 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 v1.2.7 documentation" href="../index.html" /> <link rel="up" title="7.2. コマンド" href="../commands.html" /> <link rel="next" title="7.2.20. suggest" href="suggest.html" /> <link rel="prev" title="7.2.18. 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/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="7.2.20. suggest" accesskey="N">next</a> |</li> <li class="right" > <a href="shutdown.html" title="7.2.18. shutdown" accesskey="P">previous</a> |</li> <li><a href="../index.html">groonga v1.2.7 documentation</a> »</li> <li><a href="../reference.html" >7. リファレンスマニュアル</a> »</li> <li><a href="../commands.html" accesskey="U">7.2. コマンド</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="status"> <h1>7.2.19. status<a class="headerlink" href="#status" title="Permalink to this headline">¶</a></h1> <div class="section" id="id1"> <h2>7.2.19.1. 名前<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2> <p>status - groongaプロセスの状態表示</p> </div> <div class="section" id="id2"> <h2>7.2.19.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>7.2.19.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>7.2.19.4. 引数<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2> <p>ありません。</p> </div> <div class="section" id="id5"> <h2>7.2.19.5. 返値<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2> <div class="section" id="json"> <h3>7.2.19.5.1. json形式<a class="headerlink" href="#json" title="Permalink to this headline">¶</a></h3> <div class="highlight-none"><div class="highlight"><pre>下記の項目がハッシュ形式で出力されます。 ``alloc_count`` groongaプロセスの内部でアロケートされ、まだ解放されてないメモリブロックの数を示します。groongaをbuildする際に、configureオプションで --enable-exact-alloc-countが指定されていたならば、正確な値を返します。それ以外の場合は不正確な値を返す場合があります。 ``starttime`` groongaプロセスが起動した時刻のtvsec値を返します。 ``uptime`` groongaプロセスが起動してから経過した秒数を返します。 </pre></div> </div> </div> </div> <div class="section" id="id6"> <h2>7.2.19.6. 例<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2> <div class="highlight-none"><div class="highlight"><pre>status {"alloc_count":104, "starttime":1268213679, "uptime":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="#">7.2.19. status</a><ul> <li><a class="reference internal" href="#id1">7.2.19.1. 名前</a></li> <li><a class="reference internal" href="#id2">7.2.19.2. 書式</a></li> <li><a class="reference internal" href="#id3">7.2.19.3. 説明</a></li> <li><a class="reference internal" href="#id4">7.2.19.4. 引数</a></li> <li><a class="reference internal" href="#id5">7.2.19.5. 返値</a><ul> <li><a class="reference internal" href="#json">7.2.19.5.1. json形式</a></li> </ul> </li> <li><a class="reference internal" href="#id6">7.2.19.6. 例</a></li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="shutdown.html" title="previous chapter">7.2.18. shutdown</a></p> <h4>Next topic</h4> <p class="topless"><a href="suggest.html" title="next chapter">7.2.20. suggest</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/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" size="18" /> <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="7.2.20. suggest" >next</a> |</li> <li class="right" > <a href="shutdown.html" title="7.2.18. shutdown" >previous</a> |</li> <li><a href="../index.html">groonga v1.2.7 documentation</a> »</li> <li><a href="../reference.html" >7. リファレンスマニュアル</a> »</li> <li><a href="../commands.html" >7.2. コマンド</a> »</li> </ul> </div> <div class="footer"> © Copyright 2009-2011, Brazil, Inc. </div> </body> </html>