Sha256: 2e5eeab55e1b27af2daf7fefe3b28d21420ed28861188db457538626fd4fd2f2

Contents?: true

Size: 1.32 KB

Versions: 2

Compression:

Stored size: 1.32 KB

Contents

.. highlightlang:: none

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プロセスが起動してから経過した秒数を返します。

例
--

::

 status
 {"alloc_count":104,
  "starttime":1268213679,
  "uptime":1}

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
rroonga-1.0.1-x86-mingw32 vendor/local/share/groonga/doc/ja/source/commands/status.txt
rroonga-1.0.1-x86-mingw32 vendor/local/share/groonga/doc/ja/html/_sources/commands/status.txt