[Groonga-commit] droonga/wikipedia-search.wiki at f29fb93 [master] Updated ノンストップでノードを追加する場面の検証手順 (markdown)

Back to archive index

YUKI Piro Hiroshi null+****@clear*****
Wed Apr 1 11:43:24 JST 2015


YUKI "Piro" Hiroshi	2015-04-01 11:43:24 +0900 (Wed, 01 Apr 2015)

  New Revision: f29fb93aa5d45d9ffa326a656f8f35fca424f59c
  https://github.com/droonga/wikipedia-search/wiki/%E3%83%8E%E3%83%B3%E3%82%B9%E3%83%88%E3%83%83%E3%83%97%E3%81%A7%E3%83%8E%E3%83%BC%E3%83%89%E3%82%92%E8%BF%BD%E5%8A%A0%E3%81%99%E3%82%8B%E5%A0%B4%E9%9D%A2%E3%81%AE%E6%A4%9C%E8%A8%BC%E6%89%8B%E9%A0%86/f29fb93aa5d45d9ffa326a656f8f35fca424f59c

  Message:
    Updated ノンストップでノードを追加する場面の検証手順 (markdown)

  Modified files:
    ノンストップでノードを追加する場面の検証手順.md

  Modified: ノンストップでノードを追加する場面の検証手順.md (+2 -2)
===================================================================
--- ノンストップでノードを追加する場面の検証手順.md    2015-03-27 16:45:27 +0900 (e3ed282)
+++ ノンストップでノードを追加する場面の検証手順.md    2015-04-01 11:43:24 +0900 (de9c895)
@@ -36,12 +36,12 @@ $ while true; do logger "Periodically log at $(date)"; sleep 1; done
 DBを直接叩く場合:
 
 ~~~
-$ while true; do sudo -u droonga-engine -H groonga ~droonga-engine/droonga/databases/000/db select --table Logs --limit 0; sleep 3; done
+$ while true; do echo "$(date) / Groonga / $(sudo -u droonga-engine -H groonga ~droonga-engine/droonga/databases/000/db select --table Logs --limit 0 | jq ".[1][0][0][0]")"; sleep 3; done
 ~~~
 
 Droonga HTTP Server経由の場合:
 ~~~
-$ while true; do curl "http://localhost:10041/d/select?table=Logs&limit=0&_=$(date +%s)"; echo "";sleep 3; done
+$ while true; do echo "$(date) / HTTP / $(curl -s "http://localhost:10041/d/select?table=Logs&limit=0&_=$(date +%s)" | jq ".[1][0][0][0]")"; sleep 3; done
 ~~~
 
 ## ノード間のデータベースのコピー(簡易)
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-commit mailing list
Back to archive index