Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > e450e7f3d6075c4a54de19e68d38177f > files > 430

groonga-doc-3.0.5-1.fc18.x86_64.rpm

.. -*- rst -*-

.. highlightlang:: none

.. _command-status:

status
======

名前
----

status - groongaプロセスの状態表示

書式
----
::

 status

説明
----

groonga組込コマンドの一つであるstatusについて説明します。組込コマンドは、groonga実行ファイルの引数、標準入力、またはソケット経由でgroongaサーバにリクエストを送信することによって実行します。

statusコマンドは、groongaプロセスの状態を表示します。主にgroongaサーバプロセスに対して使用することを想定しています。

引数
----

ありません。

返値
----

json形式
^^^^^^^^

::

  下記の項目がハッシュ形式で出力されます。

``alloc_count``

  groongaプロセスの内部でアロケートされ、まだ解放されてないメモリブロックの数を示します。groongaをbuildする際に、configureオプションで --enable-exact-alloc-countが指定されていたならば、正確な値を返します。それ以外の場合は不正確な値を返す場合があります。

``starttime``

  groongaプロセスが起動した時刻のtvsec値を返します。

``uptime``

    groongaプロセスが起動してから経過した秒数を返します。

例
--

.. groonga-command
.. include:: ../../example/reference/commands/status.log
.. status