dump-session操作では、指定されたセッションIDのDgraphのセッション情報を返します。(Dgraph Gatewayは、どのDgraphインスタンスが特定のセッションのリクエストを処理しているかを追跡します。)
endeca-cmd dump-session [global-options] operation options操作オプションは次のとおりです。
このコマンドが機能するようにするには、いずれかのオプションと1つの引数を指定する必要があります。このコマンドには、デフォルトの動作はありません。
Dgraphセッション情報を返すには、次の手順を実行します。
endeca-cmd dump-session --latest 30 --port 7003 Dump the 30 most recent sessions. Session id: faked-session-2. DGraph node: web009:7010. Time of first query: 2014-27-21 01:27:56. Time of the last query: 2014-27-21 01:27:56. Request count: 1 Session id: faked-session-1. DGraph node: web009:7010. Time of first query: 2014-27-21 01:27:44. Time of the last query: 2014-27-21 01:27:44. Request count: 1 Session id: faked-session-0. DGraph node: web009:7010. Time of first query: 2014-27-21 01:27:04. Time of the last query: 2014-27-21 01:27:04. Request count: 1
endeca-cmd dump-session --session-id 1234 --port 7003 Dump session information with the given session ID: 1234 Session id: 1234. DGraph node: web009:7010. Time of first query: 2014-27-21 01:27:04. Time of the last query: 2014-27-21 01:27:04. Request count: 1