Skip to content

Instantly share code, notes, and snippets.

@ripienaar
Last active March 18, 2021 15:23
Show Gist options
  • Save ripienaar/980de4797a467961f7c50167f5c96362 to your computer and use it in GitHub Desktop.
Save ripienaar/980de4797a467961f7c50167f5c96362 to your computer and use it in GitHub Desktop.
[rip@dev1]% nats --context system.ams server list 3 <16:21:16
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Server Overview |
+-----------------------------------------------------------+------------+----------------------+---------+----+-------+------+--------+-----+---------+-----+------+--------+-------------+
| Name | Cluster | IP | Version | JS | Conns | Subs | Routes | GWs | Mem | CPU | Slow | Uptime | RTT |
+-----------------------------------------------------------+------------+----------------------+---------+----+-------+------+--------+-----+---------+-----+------+--------+-------------+
| broker-broker-2.broker-broker-ss.choria.svc.cluster.local | CHORIA | choria.example.net | 2.2.1 | no | 20 | 786 | 2 | 0 | 55 MiB | 1.0 | 0 | 25m37s | 63.418068ms |
| broker-broker-1.broker-broker-ss.choria.svc.cluster.local | CHORIA | choria.example.net | 2.2.1 | no | 12 | 620 | 2 | 0 | 106 MiB | 5.0 | 0 | 25m25s | 63.468221ms |
| broker-broker-0.broker-broker-ss.choria.svc.cluster.local | CHORIA | choria.example.net | 2.2.1 | no | 2 | 414 | 2 | 0 | 53 MiB | 0.0 | 0 | 25m12s | 63.640811ms |
+-----------------------------------------------------------+------------+----------------------+---------+----+-------+------+--------+-----+---------+-----+------+--------+-------------+
| | 1 Clusters | 3 Servers | | 0 | 34 | 1820 | | | 215 MiB | | 0 | | |
+-----------------------------------------------------------+------------+----------------------+---------+----+-------+------+--------+-----+---------+-----+------+--------+-------------+
+----------------------------------------------------------------------------+
| Cluster Overview |
+---------+------------+-------------------+-------------------+-------------+
| Cluster | Node Count | Outgoing Gateways | Incoming Gateways | Connections |
+---------+------------+-------------------+-------------------+-------------+
| CHORIA | 3 | 0 | 0 | 34 |
+---------+------------+-------------------+-------------------+-------------+
| | 3 | 0 | 0 | 34 |
+---------+------------+-------------------+-------------------+-------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment