Skip to content

Instantly share code, notes, and snippets.

@ripienaar
Created September 17, 2020 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ripienaar/34ae54cc1543bc5c12f3eac386a98a6e to your computer and use it in GitHub Desktop.
Save ripienaar/34ae54cc1543bc5c12f3eac386a98a6e to your computer and use it in GitHub Desktop.
[rip@dev1]% nats server list --user system <15:24:12
+----------------------------------------------------------------------------------------------------------------------------+
| Server Overview |
+--------+------------+-----------+---------------+-------+------+--------+-----+---------+-----+------+--------+------------+
| Name | Cluster | IP | Version | Conns | Subs | Routes | GWs | Mem | CPU | Slow | Uptime | RTT |
+--------+------------+-----------+---------------+-------+------+--------+-----+---------+-----+------+--------+------------+
| nc1-c1 | c1 | localhost | 2.2.0-beta.23 | 1 | 71 | 2 | 2 | 9.1 MiB | 0.0 | 0 | 12m31s | 3.573146ms |
| nc2-c1 | c1 | localhost | 2.2.0-beta.23 | 0 | 71 | 2 | 2 | 9.2 MiB | 0.0 | 0 | 12m30s | 3.684647ms |
| nc3-c1 | c1 | localhost | 2.2.0-beta.23 | 0 | 71 | 2 | 2 | 9.3 MiB | 1.0 | 0 | 12m30s | 3.754224ms |
| nc3-c3 | c3 | localhost | 2.2.0-beta.23 | 0 | 70 | 2 | 2 | 9.4 MiB | 0.0 | 0 | 12m30s | 4.125885ms |
| nc3-c2 | c2 | localhost | 2.2.0-beta.23 | 0 | 70 | 2 | 2 | 9.4 MiB | 1.0 | 0 | 12m30s | 4.238509ms |
| nc1-c2 | c2 | localhost | 2.2.0-beta.23 | 0 | 70 | 2 | 2 | 9.9 MiB | 0.0 | 0 | 12m30s | 4.310584ms |
| nc2-c2 | c2 | localhost | 2.2.0-beta.23 | 0 | 70 | 2 | 2 | 9.1 MiB | 1.0 | 0 | 12m30s | 4.428606ms |
| nc1-c3 | c3 | localhost | 2.2.0-beta.23 | 0 | 70 | 2 | 2 | 11 MiB | 0.0 | 0 | 12m31s | 4.500908ms |
| nc2-c3 | c3 | localhost | 2.2.0-beta.23 | 0 | 70 | 2 | 2 | 9.1 MiB | 0.0 | 0 | 12m31s | 4.665863ms |
+--------+------------+-----------+---------------+-------+------+--------+-----+---------+-----+------+--------+------------+
| | 3 Clusters | 9 Servers | | 1 | 633 | | | 86 MiB | | 0 | | |
+--------+------------+-----------+---------------+-------+------+--------+-----+---------+-----+------+--------+------------+
+----------------------------------------------------------------------------+
| Cluster Overview |
+---------+------------+-------------------+-------------------+-------------+
| Cluster | Node Count | Outgoing Gateways | Incoming Gateways | Connections |
+---------+------------+-------------------+-------------------+-------------+
| c3 | 3 | 6 | 6 | 0 |
| c2 | 3 | 6 | 6 | 0 |
| c1 | 3 | 6 | 6 | 1 |
+---------+------------+-------------------+-------------------+-------------+
| | 9 | 18 | 18 | 1 |
+---------+------------+-------------------+-------------------+-------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment