From 9a96c3c901de87bd19e2254cb7e62e7ef705ab44 Mon Sep 17 00:00:00 2001 From: Abby <78209557+abby-cyber@users.noreply.github.com> Date: Wed, 11 Jan 2023 15:44:32 +0800 Subject: [PATCH] use-macro-for-show-hosts --- .../6.show/6.show-hosts.md | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docs-2.0/3.ngql-guide/7.general-query-statements/6.show/6.show-hosts.md b/docs-2.0/3.ngql-guide/7.general-query-statements/6.show/6.show-hosts.md index 364b6cea0da..aa2ce83bdf0 100644 --- a/docs-2.0/3.ngql-guide/7.general-query-statements/6.show/6.show-hosts.md +++ b/docs-2.0/3.ngql-guide/7.general-query-statements/6.show/6.show-hosts.md @@ -19,35 +19,35 @@ nebula> SHOW HOSTS; +-------------+-------+-----------+----------+--------------+----------------------------------+------------------------------+---------+ | Host | Port | HTTP port | Status | Leader count | Leader distribution | Partition distribution | Version | +-------------+-------+-----------+----------+--------------+----------------------------------+------------------------------+---------+ -| "storaged0" | 9779 | 19779 | "ONLINE" | 8 | "docs:5, basketballplayer:3" | "docs:5, basketballplayer:3" | "3.1.0" | -| "storaged1" | 9779 | 19779 | "ONLINE" | 9 | "basketballplayer:4, docs:5" | "docs:5, basketballplayer:4" | "3.1.0" | -| "storaged2" | 9779 | 19779 | "ONLINE" | 8 | "basketballplayer:3, docs:5" | "docs:5, basketballplayer:3" | "3.1.0" | +| "storaged0" | 9779 | 19779 | "ONLINE" | 8 | "docs:5, basketballplayer:3" | "docs:5, basketballplayer:3" | "{{nebula.release}}" | +| "storaged1" | 9779 | 19779 | "ONLINE" | 9 | "basketballplayer:4, docs:5" | "docs:5, basketballplayer:4" | "{{nebula.release}}" | +| "storaged2" | 9779 | 19779 | "ONLINE" | 8 | "basketballplayer:3, docs:5" | "docs:5, basketballplayer:3" | "{{nebula.release}}" | +-------------+-------+-----------+----------+--------------+----------------------------------+------------------------------+---------+ nebula> SHOW HOSTS GRAPH; +-----------+------+----------+---------+--------------+---------+ | Host | Port | Status | Role | Git Info Sha | Version | +-----------+------+----------+---------+--------------+---------+ -| "graphd" | 9669 | "ONLINE" | "GRAPH" | "3ba41bd" | "3.1.0" | -| "graphd1" | 9669 | "ONLINE" | "GRAPH" | "3ba41bd" | "3.1.0" | -| "graphd2" | 9669 | "ONLINE" | "GRAPH" | "3ba41bd" | "3.1.0" | +| "graphd" | 9669 | "ONLINE" | "GRAPH" | "3ba41bd" | "{{nebula.release}}" | +| "graphd1" | 9669 | "ONLINE" | "GRAPH" | "3ba41bd" | "{{nebula.release}}" | +| "graphd2" | 9669 | "ONLINE" | "GRAPH" | "3ba41bd" | "{{nebula.release}}" | +-----------+------+----------+---------+--------------+---------+ nebula> SHOW HOSTS STORAGE; +-------------+------+----------+-----------+--------------+---------+ | Host | Port | Status | Role | Git Info Sha | Version | +-------------+------+----------+-----------+--------------+---------+ -| "storaged0" | 9779 | "ONLINE" | "STORAGE" | "3ba41bd" | "3.1.0" | -| "storaged1" | 9779 | "ONLINE" | "STORAGE" | "3ba41bd" | "3.1.0" | -| "storaged2" | 9779 | "ONLINE" | "STORAGE" | "3ba41bd" | "3.1.0" | +| "storaged0" | 9779 | "ONLINE" | "STORAGE" | "3ba41bd" | "{{nebula.release}}" | +| "storaged1" | 9779 | "ONLINE" | "STORAGE" | "3ba41bd" | "{{nebula.release}}" | +| "storaged2" | 9779 | "ONLINE" | "STORAGE" | "3ba41bd" | "{{nebula.release}}" | +-------------+------+----------+-----------+--------------+---------+ nebula> SHOW HOSTS META; +----------+------+----------+--------+--------------+---------+ | Host | Port | Status | Role | Git Info Sha | Version | +----------+------+----------+--------+--------------+---------+ -| "metad2" | 9559 | "ONLINE" | "META" | "3ba41bd" | "3.1.0" | -| "metad0" | 9559 | "ONLINE" | "META" | "3ba41bd" | "3.1.0" | -| "metad1" | 9559 | "ONLINE" | "META" | "3ba41bd" | "3.1.0" | +| "metad2" | 9559 | "ONLINE" | "META" | "3ba41bd" | "{{nebula.release}}" | +| "metad0" | 9559 | "ONLINE" | "META" | "3ba41bd" | "{{nebula.release}}" | +| "metad1" | 9559 | "ONLINE" | "META" | "3ba41bd" | "{{nebula.release}}" | +----------+------+----------+--------+--------------+---------+ ```