[Groonga-commit] groonga/groonga [master] httpd: add the result from /d/status

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 22日 (金) 11:27:34 JST


Ryo Onodera	2012-06-22 11:27:34 +0900 (Fri, 22 Jun 2012)

  New Revision: 0b6cd9d62f2b138a310096749a60c97d335e9fd9
  https://github.com/groonga/groonga/commit/0b6cd9d62f2b138a310096749a60c97d335e9fd9

  Log:
    httpd: add the result from /d/status

  Modified files:
    doc/source/executables/groonga-httpd.txt

  Modified: doc/source/executables/groonga-httpd.txt (+20 -1)
===================================================================
--- doc/source/executables/groonga-httpd.txt    2012-06-22 11:19:33 +0900 (b3fc729)
+++ doc/source/executables/groonga-httpd.txt    2012-06-22 11:27:34 +0900 (706cda4a)
@@ -43,7 +43,26 @@ console because groonga-httpd runs as a daemon process by default.::
 
 To check, request a simple query.::
 
-   % curl http://localhost:10041/d/status
+   % curl -s http://localhost:10041/d/status | python -m json.tool
+   [
+       [
+           0,
+           1340331537.24441,
+           5.17368316650391e-05
+       ],
+       {
+           "alloc_count": 125,
+           "cache_hit_rate": 0.0,
+           "command_version": 1,
+           "default_command_version": 1,
+           "max_command_version": 2,
+           "n_queries": 0,
+           "starttime": 1340331494,
+           "uptime": 43,
+           "version": "2.0.3-278-g6071d65"
+       }
+   ]
+
 
 Also, you can browse Web-based adiministration tool at http://localhost:10041/.
 
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



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