[Groonga-commit] groonga/groonga [master] doc: update execution example of status command

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 27日 (水) 11:55:25 JST


Ryo Onodera	2012-06-27 11:55:25 +0900 (Wed, 27 Jun 2012)

  New Revision: 10345f8c4d867c247488959191f96eb3cbb89f9e
  https://github.com/groonga/groonga/commit/10345f8c4d867c247488959191f96eb3cbb89f9e

  Log:
    doc: update execution example of status command

  Added files:
    doc/source/example/commands/status.log
  Modified files:
    doc/source/commands/status.txt

  Modified: doc/source/commands/status.txt (+3 -6)
===================================================================
--- doc/source/commands/status.txt    2012-06-27 11:08:05 +0900 (5d685dc)
+++ doc/source/commands/status.txt    2012-06-27 11:55:25 +0900 (7ec38b6)
@@ -53,9 +53,6 @@ json形式
 例
 --
 
-::
-
- status
- {"alloc_count":104,
-  "starttime":1268213679,
-  "uptime":1}
+.. groonga-command
+.. include:: ../example/commands/status.log
+.. status

  Added: doc/source/example/commands/status.log (+21 -0) 100644
===================================================================
--- /dev/null
+++ doc/source/example/commands/status.log    2012-06-27 11:55:25 +0900 (3579ae1)
@@ -0,0 +1,21 @@
+Execution example::
+
+  status
+  # [
+  #   [
+  #     0, 
+  #     1337566253.89858, 
+  #     0.000355720520019531
+  #   ], 
+  #   {
+  #     "uptime": 2, 
+  #     "max_command_version": 2, 
+  #     "n_queries": 0, 
+  #     "cache_hit_rate": 0.0, 
+  #     "version": "2.0.3-278-g6071d65", 
+  #     "alloc_count": 267, 
+  #     "command_version": 1, 
+  #     "starttime": 1340765358, 
+  #     "default_command_version": 1
+  #   }
+  # ]
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Back to archive index